#AF76F3#AF76F3
#AF76F3 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.8% C 0.183 H 302.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AF76F3 |
|---|---|
| RGB | rgb(175, 118, 243) |
| HSL | hsl(267, 84%, 71%) |
| HSV | hsv(267, 51%, 95%) |
| CMYK | cmyk(28%, 51.4%, 0%, 4.7%) |
| CIE-LAB | lab(60.38, 46.52, -54.73) |
| CIE-LCH | lch(60.38, 71.83, 310.37°) |
| OKLab | oklab(67.78% 0.0996 -0.154) |
| OKLCH | oklch(67.78% 0.183 302.9) |
| XYZ | xyz(40.3317, 28.5419, 88.1610) |
| Luminance | 0.2854 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.81
Light Purple
#BF77F6
ΔE00 2.95
Easter Purple
#C071FE
ΔE00 3.20
Bright Lavender
#C760FF
ΔE00 5.74
Mediumpurple
#9370DB
ΔE00 5.98
Bright Lilac
#C95EFB
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF76F3 #BAF376
analogous
#767BF3 #AF76F3 #EE76F3
triadic
#AF76F3 #F3AF76 #76F3AF
tetradic
#AF76F3 #F3767B #BAF376 #76F3EE
square
#AF76F3 #F3767B #BAF376 #76F3EE
split-complementary
#AF76F3 #F3EE76 #7BF376
monochromatic
#6E13DB #8E3EEE #AF76F3 #D0AEF8 #EFE3FD
Accessibility & contrast
On white
3.13
#AF76F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.71
#AF76F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF76F3
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF76F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF76F3 | 1.00 | 3.13 | 6.71 | 6.71 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C90F7
Deuteranopia (green-blind)
#5D91F0
Tritanopia (blue-blind)
#A38DAA
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #af76f3; /* rgb */ color: rgb(175, 118, 243); /* oklch */ color: oklch(67.8% 0.183 302.9);
Tailwind
colors: {
custom: {
50: '#ca9ff8',
500: '#af76f3',
950: '#000000',
},
}SCSS
$custom: #af76f3; $custom-light: #ca9ff8; $custom-dark: #000000;
JSON
{
"hex": "#af76f3",
"rgb": {
"r": 175,
"g": 118,
"b": 243
},
"hsl": {
"h": 267.36,
"s": 83.893,
"l": 70.784
},
"oklch": {
"l": 0.67777,
"c": 0.18341,
"h": 302.9
},
"luminance": 0.28542
}Semantic roles & 50–950 ramp
primary
#AF76F3
secondary
#E4F3D2
accent
#E0057C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85