#AB96FD color
The hex color #AB96FD is a light, vivid violet.
In the RGB color model it is made of 67.1% red, 58.8% green and 99.2% blue (171, 150, 253).
Its hue angle is 252°, with 96% saturation and 79% lightness. For print, the CMYK equivalent is 32% cyan, 41% magenta, 0% yellow and 1% black.
The closest named color is Dreamy Candy Forest (#B195E4), a difference of 5.2 ΔE.
Black text is the more readable choice on this background (contrast 8.51:1).
#AB96FD color codes
| HEX | #AB96FD | |
|---|---|---|
| RGB | rgb(171, 150, 253) | |
| RGB percent | rgb(67.1%, 58.8%, 99.2%) | |
| HSL | hsl(252, 96%, 79%) | |
| HSV / HSB | hsv(252, 41%, 99%) | |
| CMYK | cmyk(32%, 41%, 0%, 1%) | |
| CIE LAB | lab(67.7, 30.16, -48.64) | |
| CIE LCH | lch(67.7, 57.24, 301.8) | |
| CIE XYZ | xyz(45.426, 37.562, 97.766) | |
| Decimal | 11245309 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AB96FD, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #AB96FD | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.51:1 | Pass | Pass | Pass |
| Sample text | 2.47:1 | Fail | Fail | Fail |
| #AB96FD as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.47:1 | Fail | Fail | Fail |
| Sample text | 8.51:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #AB96FD looks to people with the most common types of color vision deficiency.
#76a7ffProtanopia
no red cones#78a3faDeuteranopia
no green cones#98a9bdTritanopia
no blue cones#a5a5a5Achromatopsia
no color vision
CSS examples
.background { background-color: #ab96fd; }
.text { color: #ab96fd; }
.border { border: 2px solid #ab96fd; }
.transparent { background-color: rgb(171 150 253 / 50%); }
.gradient { background: linear-gradient(to right, #ab96fd, #df96fd); }
Similar colors
#b195e4Dreamy Candy Forest#9ba0efCold Lips#8f8ce7Perrywinkle#c9a0ffDiva#8e82fePeriwinkle Purple#b19cd9Violet Velvet#99aaffWidowmaker#cc99eeDream Vapour
Questions
- What color is #AB96FD?
- #AB96FD is a light, vivid violet, closest to the named color Dreamy Candy Forest. It belongs to the blue family of colors.
- What is the RGB value of #AB96FD?
- The RGB value is 171, 150, 253: 171 red, 150 green and 253 blue on a 0 to 255 scale.
- What is the complementary color of #AB96FD?
- The complementary color is #E8FD96, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AB96FD?
- Black text. Black text has a contrast ratio of 8.51:1 and white text 2.47:1. WCAG asks for at least 4.5:1 for normal text.