#AF76EA#AF76EA
#AF76EA is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.3% C 0.173 H 304.9°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AF76EA |
|---|---|
| RGB | rgb(175, 118, 234) |
| HSL | hsl(269, 73%, 69%) |
| HSV | hsv(269, 50%, 92%) |
| CMYK | cmyk(25.2%, 49.6%, 0%, 8.2%) |
| CIE-LAB | lab(59.90, 44.41, -50.49) |
| CIE-LCH | lch(59.90, 67.24, 311.33°) |
| OKLab | oklab(67.27% 0.0988 -0.1417) |
| OKLCH | oklch(67.27% 0.173 304.9) |
| XYZ | xyz(39.0058, 28.0115, 81.1778) |
| Luminance | 0.2801 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.45
Light Purple
#BF77F6
ΔE00 3.03
Easter Purple
#C071FE
ΔE00 3.76
Mediumpurple
#9370DB
ΔE00 5.69
Bright Lavender
#C760FF
ΔE00 6.03
Bright Lilac
#C95EFB
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF76EA #B1EA76
analogous
#7677EA #AF76EA #E976EA
triadic
#AF76EA #EAAF76 #76EAAF
tetradic
#AF76EA #EA7677 #B1EA76 #76EAE9
square
#AF76EA #EA7677 #B1EA76 #76EAE9
split-complementary
#AF76EA #EAE976 #77EA76
monochromatic
#711FC7 #9041E2 #AF76EA #CEABF2 #EDE0FA
Accessibility & contrast
On white
3.18
#AF76EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.60
#AF76EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF76EA
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF76EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF76EA | 1.00 | 3.18 | 6.60 | 6.60 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#538FEE
Deuteranopia (green-blind)
#6390E7
Tritanopia (blue-blind)
#A58BA5
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #af76ea; /* rgb */ color: rgb(175, 118, 234); /* oklch */ color: oklch(67.3% 0.173 304.9);
Tailwind
colors: {
custom: {
50: '#c99ff1',
500: '#af76ea',
950: '#000000',
},
}SCSS
$custom: #af76ea; $custom-light: #c99ff1; $custom-dark: #000000;
JSON
{
"hex": "#af76ea",
"rgb": {
"r": 175,
"g": 118,
"b": 234
},
"hsl": {
"h": 269.483,
"s": 73.418,
"l": 69.02
},
"oklch": {
"l": 0.67269,
"c": 0.17272,
"h": 304.9
},
"luminance": 0.28011
}Semantic roles & 50–950 ramp
primary
#AF76EA
secondary
#DEEFCD
accent
#D61074
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85