#AF7FF9#AF7FF9
#AF7FF9 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.5% C 0.177 H 300.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7FF9 |
|---|---|
| RGB | rgb(175, 127, 249) |
| HSL | hsl(264, 91%, 74%) |
| HSV | hsv(264, 49%, 98%) |
| CMYK | cmyk(29.7%, 49%, 0%, 2.4%) |
| CIE-LAB | lab(62.62, 43.06, -54.47) |
| CIE-LCH | lch(62.62, 69.43, 308.33°) |
| OKLab | oklab(69.55% 0.0885 -0.1533) |
| OKLCH | oklch(69.55% 0.177 300) |
| XYZ | xyz(42.3634, 31.1320, 93.3814) |
| Luminance | 0.3113 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.81
Light Urple
#B36FF6
ΔE00 4.04
Easter Purple
#C071FE
ΔE00 4.43
Liliac
#C48EFD
ΔE00 5.18
Periwinkle (survey)
#8E82FE
ΔE00 6.83
Mediumpurple
#9370DB
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7FF9 #C9F97F
analogous
#7F8CF9 #AF7FF9 #EC7FF9
triadic
#AF7FF9 #F9AF7F #7FF9AF
tetradic
#AF7FF9 #F97F8C #C9F97F #7FF9EC
square
#AF7FF9 #F97F8C #C9F97F #7FF9EC
split-complementary
#AF7FF9 #F9EC7F #8CF97F
monochromatic
#660BF2 #8A45F6 #AF7FF9 #D4B9FC #EDE2FE
Accessibility & contrast
On white
2.91
#AF7FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#AF7FF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF7FF9
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7FF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7FF9 | 1.00 | 2.91 | 7.23 | 7.23 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5797FD
Deuteranopia (green-blind)
#6397F6
Tritanopia (blue-blind)
#A096B0
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #af7ff9; /* rgb */ color: rgb(175, 127, 249); /* oklch */ color: oklch(69.5% 0.177 300.0);
Tailwind
colors: {
custom: {
50: '#caa5fc',
500: '#af7ff9',
950: '#000000',
},
}SCSS
$custom: #af7ff9; $custom-light: #caa5fc; $custom-dark: #000000;
JSON
{
"hex": "#af7ff9",
"rgb": {
"r": 175,
"g": 127,
"b": 249
},
"hsl": {
"h": 263.607,
"s": 91.045,
"l": 73.725
},
"oklch": {
"l": 0.69548,
"c": 0.177,
"h": 300
},
"luminance": 0.31132
}Semantic roles & 50–950 ramp
primary
#AF7FF9
secondary
#E9F6D5
accent
#E6008B
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85