#AF76F6#AF76F6
#AF76F6 is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.0% C 0.187 H 302.2°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AF76F6 |
|---|---|
| RGB | rgb(175, 118, 246) |
| HSL | hsl(267, 88%, 71%) |
| HSV | hsv(267, 52%, 96%) |
| CMYK | cmyk(28.9%, 52%, 0%, 3.5%) |
| CIE-LAB | lab(60.54, 47.24, -56.13) |
| CIE-LCH | lch(60.54, 73.36, 310.08°) |
| OKLab | oklab(67.95% 0.0998 -0.1581) |
| OKLCH | oklch(67.95% 0.187 302.2) |
| XYZ | xyz(40.7884, 28.7246, 90.5665) |
| Luminance | 0.2873 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.81
Light Purple
#BF77F6
ΔE00 3.06
Easter Purple
#C071FE
ΔE00 3.13
Bright Lavender
#C760FF
ΔE00 5.72
Mediumpurple
#9370DB
ΔE00 6.15
Bright Lilac
#C95EFB
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF76F6 #BDF676
analogous
#767DF6 #AF76F6 #EF76F6
triadic
#AF76F6 #F6AF76 #76F6AF
tetradic
#AF76F6 #F6767D #BDF676 #76F6EF
square
#AF76F6 #F6767D #BDF676 #76F6EF
split-complementary
#AF76F6 #F6EF76 #7DF676
monochromatic
#6D0FE3 #8D3DF2 #AF76F6 #D1AFFA #EEE2FD
Accessibility & contrast
On white
3.11
#AF76F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.74
#AF76F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF76F6
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF76F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF76F6 | 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)
#4991FA
Deuteranopia (green-blind)
#5A92F3
Tritanopia (blue-blind)
#A28EAB
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #af76f6; /* rgb */ color: rgb(175, 118, 246); /* oklch */ color: oklch(68.0% 0.187 302.2);
Tailwind
colors: {
custom: {
50: '#ca9ffa',
500: '#af76f6',
950: '#000000',
},
}SCSS
$custom: #af76f6; $custom-light: #ca9ffa; $custom-dark: #000000;
JSON
{
"hex": "#af76f6",
"rgb": {
"r": 175,
"g": 118,
"b": 246
},
"hsl": {
"h": 266.719,
"s": 87.671,
"l": 71.373
},
"oklch": {
"l": 0.6795,
"c": 0.18698,
"h": 302.2
},
"luminance": 0.28725
}Semantic roles & 50–950 ramp
primary
#AF76F6
secondary
#E6F5D3
accent
#E4017F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85