#AF77F2#AF77F2
#AF77F2 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.9% C 0.181 H 302.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AF77F2 |
|---|---|
| RGB | rgb(175, 119, 242) |
| HSL | hsl(267, 83%, 71%) |
| HSV | hsv(267, 51%, 95%) |
| CMYK | cmyk(27.7%, 50.8%, 0%, 5.1%) |
| CIE-LAB | lab(60.53, 45.75, -53.92) |
| CIE-LCH | lch(60.53, 70.72, 310.31°) |
| OKLab | oklab(67.88% 0.0982 -0.1517) |
| OKLCH | oklch(67.88% 0.181 302.9) |
| XYZ | xyz(40.2995, 28.7184, 87.4073) |
| Luminance | 0.2872 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.06
Light Purple
#BF77F6
ΔE00 2.91
Easter Purple
#C071FE
ΔE00 3.32
Bright Lavender
#C760FF
ΔE00 5.94
Mediumpurple
#9370DB
ΔE00 5.99
Bright Lilac
#C95EFB
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF77F2 #BAF277
analogous
#777CF2 #AF77F2 #EC77F2
triadic
#AF77F2 #F2AF77 #77F2AF
tetradic
#AF77F2 #F2777C #BAF277 #77F2EC
square
#AF77F2 #F2777C #BAF277 #77F2EC
split-complementary
#AF77F2 #F2EC77 #7CF277
monochromatic
#6E15DA #8E3FED #AF77F2 #D0AFF7 #EFE3FC
Accessibility & contrast
On white
3.11
#AF77F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.74
#AF77F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF77F2
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF77F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF77F2 | 1.00 | 3.11 | 6.74 | 6.74 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F91F6
Deuteranopia (green-blind)
#5F92EF
Tritanopia (blue-blind)
#A38EAA
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #af77f2; /* rgb */ color: rgb(175, 119, 242); /* oklch */ color: oklch(67.9% 0.181 302.9);
Tailwind
colors: {
custom: {
50: '#caa0f7',
500: '#af77f2',
950: '#000000',
},
}SCSS
$custom: #af77f2; $custom-light: #caa0f7; $custom-dark: #000000;
JSON
{
"hex": "#af77f2",
"rgb": {
"r": 175,
"g": 119,
"b": 242
},
"hsl": {
"h": 267.317,
"s": 82.55,
"l": 70.784
},
"oklch": {
"l": 0.67876,
"c": 0.18071,
"h": 302.9
},
"luminance": 0.28718
}Semantic roles & 50–950 ramp
primary
#AF77F2
secondary
#E4F3D2
accent
#DF077C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85