#AF76F9#AF76F9
#AF76F9 is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.1% C 0.191 H 301.6°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AF76F9 |
|---|---|
| RGB | rgb(175, 118, 249) |
| HSL | hsl(266, 92%, 72%) |
| HSV | hsv(266, 53%, 98%) |
| CMYK | cmyk(29.7%, 52.6%, 0%, 2.4%) |
| CIE-LAB | lab(60.70, 47.95, -57.52) |
| CIE-LCH | lch(60.70, 74.89, 309.82°) |
| OKLab | oklab(68.13% 0.0999 -0.1622) |
| OKLCH | oklch(68.13% 0.191 301.6) |
| XYZ | xyz(41.2526, 28.9103, 93.0111) |
| Luminance | 0.2891 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.92
Easter Purple
#C071FE
ΔE00 3.13
Light Purple
#BF77F6
ΔE00 3.22
Bright Lavender
#C760FF
ΔE00 5.73
Bright Lilac
#C95EFB
ΔE00 6.28
Mediumpurple
#9370DB
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF76F9 #C0F976
analogous
#767FF9 #AF76F9 #F176F9
triadic
#AF76F9 #F9AF76 #76F9AF
tetradic
#AF76F9 #F9767F #C0F976 #76F9F1
square
#AF76F9 #F9767F #C0F976 #76F9F1
split-complementary
#AF76F9 #F9F176 #7FF976
monochromatic
#6C0AEA #8D3BF6 #AF76F9 #D1B1FC #EEE2FE
Accessibility & contrast
On white
3.10
#AF76F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#AF76F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF76F9
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF76F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF76F9 | 1.00 | 3.10 | 6.78 | 6.78 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4692FD
Deuteranopia (green-blind)
#5892F6
Tritanopia (blue-blind)
#A18FAC
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #af76f9; /* rgb */ color: rgb(175, 118, 249); /* oklch */ color: oklch(68.1% 0.191 301.6);
Tailwind
colors: {
custom: {
50: '#ca9ffc',
500: '#af76f9',
950: '#000000',
},
}SCSS
$custom: #af76f9; $custom-light: #ca9ffc; $custom-dark: #000000;
JSON
{
"hex": "#af76f9",
"rgb": {
"r": 175,
"g": 118,
"b": 249
},
"hsl": {
"h": 266.107,
"s": 91.608,
"l": 71.961
},
"oklch": {
"l": 0.68125,
"c": 0.19053,
"h": 301.6
},
"luminance": 0.2891
}Semantic roles & 50–950 ramp
primary
#AF76F9
secondary
#E8F6D5
accent
#E60082
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85