#AF76FC#AF76FC
#AF76FC is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.3% C 0.194 H 301.0°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AF76FC |
|---|---|
| RGB | rgb(175, 118, 252) |
| HSL | hsl(266, 96%, 73%) |
| HSV | hsv(266, 53%, 99%) |
| CMYK | cmyk(30.6%, 53.2%, 0%, 1.2%) |
| CIE-LAB | lab(60.87, 48.67, -58.91) |
| CIE-LCH | lch(60.87, 76.41, 309.56°) |
| OKLab | oklab(68.3% 0.1001 -0.1663) |
| OKLCH | oklch(68.3% 0.194 301) |
| XYZ | xyz(41.7242, 29.0989, 95.4951) |
| Luminance | 0.2910 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.12
Easter Purple
#C071FE
ΔE00 3.18
Light Purple
#BF77F6
ΔE00 3.43
Bright Lavender
#C760FF
ΔE00 5.77
Bright Lilac
#C95EFB
ΔE00 6.37
Mediumpurple
#9370DB
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF76FC #C3FC76
analogous
#7680FC #AF76FC #F276FC
triadic
#AF76FC #FCAF76 #76FCAF
tetradic
#AF76FC #FC7680 #C3FC76 #76FCF2
square
#AF76FC #FC7680 #C3FC76 #76FCF2
split-complementary
#AF76FC #FCF276 #80FC76
monochromatic
#6A05F2 #8C3AFB #AF76FC #D2B2FD #EEE1FE
Accessibility & contrast
On white
3.08
#AF76FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.82
#AF76FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF76FC
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF76FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF76FC | 1.00 | 3.08 | 6.82 | 6.82 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4392FF
Deuteranopia (green-blind)
#5592F9
Tritanopia (blue-blind)
#A090AE
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #af76fc; /* rgb */ color: rgb(175, 118, 252); /* oklch */ color: oklch(68.3% 0.194 301.0);
Tailwind
colors: {
custom: {
50: '#ca9ffe',
500: '#af76fc',
950: '#000000',
},
}SCSS
$custom: #af76fc; $custom-light: #ca9ffe; $custom-dark: #000000;
JSON
{
"hex": "#af76fc",
"rgb": {
"r": 175,
"g": 118,
"b": 252
},
"hsl": {
"h": 265.522,
"s": 95.714,
"l": 72.549
},
"oklch": {
"l": 0.68301,
"c": 0.19408,
"h": 301
},
"luminance": 0.29099
}Semantic roles & 50–950 ramp
primary
#AF76FC
secondary
#E8F7D4
accent
#E60084
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F18
muted
#827E86