#AF76F2#AF76F2
#AF76F2 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.7% C 0.182 H 303.1°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #AF76F2 |
|---|---|
| RGB | rgb(175, 118, 242) |
| HSL | hsl(268, 83%, 71%) |
| HSV | hsv(268, 51%, 95%) |
| CMYK | cmyk(27.7%, 51.2%, 0%, 5.1%) |
| CIE-LAB | lab(60.32, 46.29, -54.26) |
| CIE-LCH | lch(60.32, 71.32, 310.47°) |
| OKLab | oklab(67.72% 0.0995 -0.1527) |
| OKLCH | oklch(67.72% 0.182 303.1) |
| XYZ | xyz(40.1811, 28.4817, 87.3679) |
| Luminance | 0.2848 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.83
Light Purple
#BF77F6
ΔE00 2.92
Easter Purple
#C071FE
ΔE00 3.24
Bright Lavender
#C760FF
ΔE00 5.76
Mediumpurple
#9370DB
ΔE00 5.93
Bright Lilac
#C95EFB
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF76F2 #B9F276
analogous
#767BF2 #AF76F2 #ED76F2
triadic
#AF76F2 #F2AF76 #76F2AF
tetradic
#AF76F2 #F2767B #B9F276 #76F2ED
square
#AF76F2 #F2767B #B9F276 #76F2ED
split-complementary
#AF76F2 #F2ED76 #7BF276
monochromatic
#6F15D9 #8E3EED #AF76F2 #D0AEF7 #EFE3FC
Accessibility & contrast
On white
3.14
#AF76F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.70
#AF76F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF76F2
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF76F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF76F2 | 1.00 | 3.14 | 6.70 | 6.70 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#5E91EF
Tritanopia (blue-blind)
#A38DA9
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #af76f2; /* rgb */ color: rgb(175, 118, 242); /* oklch */ color: oklch(67.7% 0.182 303.1);
Tailwind
colors: {
custom: {
50: '#ca9ff7',
500: '#af76f2',
950: '#000000',
},
}SCSS
$custom: #af76f2; $custom-light: #ca9ff7; $custom-dark: #000000;
JSON
{
"hex": "#af76f2",
"rgb": {
"r": 175,
"g": 118,
"b": 242
},
"hsl": {
"h": 267.581,
"s": 82.667,
"l": 70.588
},
"oklch": {
"l": 0.67719,
"c": 0.18223,
"h": 303.1
},
"luminance": 0.28482
}Semantic roles & 50–950 ramp
primary
#AF76F2
secondary
#E3F3D1
accent
#DF067B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85