#AF76F7#AF76F7
#AF76F7 is a light, vivid violet. Relative luminance 0.288; OKLCH L 68.0% C 0.188 H 302.0°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AF76F7 |
|---|---|
| RGB | rgb(175, 118, 247) |
| HSL | hsl(267, 89%, 72%) |
| HSV | hsv(267, 52%, 97%) |
| CMYK | cmyk(29.1%, 52.2%, 0%, 3.1%) |
| CIE-LAB | lab(60.59, 47.47, -56.59) |
| CIE-LCH | lch(60.59, 73.87, 309.99°) |
| OKLab | oklab(68.01% 0.0998 -0.1595) |
| OKLCH | oklch(68.01% 0.188 302) |
| XYZ | xyz(40.9423, 28.7862, 91.3770) |
| Luminance | 0.2879 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.83
Light Purple
#BF77F6
ΔE00 3.11
Easter Purple
#C071FE
ΔE00 3.12
Bright Lavender
#C760FF
ΔE00 5.72
Mediumpurple
#9370DB
ΔE00 6.21
Bright Lilac
#C95EFB
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF76F7 #BEF776
analogous
#767EF7 #AF76F7 #F076F7
triadic
#AF76F7 #F7AF76 #76F7AF
tetradic
#AF76F7 #F7767E #BEF776 #76F7F0
square
#AF76F7 #F7767E #BEF776 #76F7F0
split-complementary
#AF76F7 #F7F076 #7EF776
monochromatic
#6D0DE5 #8D3CF4 #AF76F7 #D1B0FA #EEE2FD
Accessibility & contrast
On white
3.11
#AF76F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.76
#AF76F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF76F7
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF76F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF76F7 | 1.00 | 3.11 | 6.76 | 6.76 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4891FB
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#A18EAC
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #af76f7; /* rgb */ color: rgb(175, 118, 247); /* oklch */ color: oklch(68.0% 0.188 302.0);
Tailwind
colors: {
custom: {
50: '#ca9ffa',
500: '#af76f7',
950: '#000000',
},
}SCSS
$custom: #af76f7; $custom-light: #ca9ffa; $custom-dark: #000000;
JSON
{
"hex": "#af76f7",
"rgb": {
"r": 175,
"g": 118,
"b": 247
},
"hsl": {
"h": 266.512,
"s": 88.966,
"l": 71.569
},
"oklch": {
"l": 0.68008,
"c": 0.18816,
"h": 302
},
"luminance": 0.28786
}Semantic roles & 50–950 ramp
primary
#AF76F7
secondary
#E6F5D4
accent
#E60080
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85