#AF76FB#AF76FB
#AF76FB is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.2% C 0.193 H 301.2°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AF76FB |
|---|---|
| RGB | rgb(175, 118, 251) |
| HSL | hsl(266, 94%, 72%) |
| HSV | hsv(266, 53%, 98%) |
| CMYK | cmyk(30.3%, 53%, 0%, 1.6%) |
| CIE-LAB | lab(60.81, 48.43, -58.45) |
| CIE-LCH | lch(60.81, 75.91, 309.65°) |
| OKLab | oklab(68.24% 0.1 -0.1649) |
| OKLCH | oklch(68.24% 0.193 301.2) |
| XYZ | xyz(41.5662, 29.0357, 94.6627) |
| Luminance | 0.2904 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.04
Easter Purple
#C071FE
ΔE00 3.15
Light Purple
#BF77F6
ΔE00 3.36
Bright Lavender
#C760FF
ΔE00 5.76
Bright Lilac
#C95EFB
ΔE00 6.33
Mediumpurple
#9370DB
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF76FB #C2FB76
analogous
#7680FB #AF76FB #F176FB
triadic
#AF76FB #FBAF76 #76FBAF
tetradic
#AF76FB #FB7680 #C2FB76 #76FBF1
square
#AF76FB #FB7680 #C2FB76 #76FBF1
split-complementary
#AF76FB #FBF176 #80FB76
monochromatic
#6B07F0 #8C3BF9 #AF76FB #D2B1FD #EEE1FE
Accessibility & contrast
On white
3.08
#AF76FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.81
#AF76FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF76FB
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF76FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF76FB | 1.00 | 3.08 | 6.81 | 6.81 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#5692F8
Tritanopia (blue-blind)
#A090AD
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #af76fb; /* rgb */ color: rgb(175, 118, 251); /* oklch */ color: oklch(68.2% 0.193 301.2);
Tailwind
colors: {
custom: {
50: '#ca9ffd',
500: '#af76fb',
950: '#000000',
},
}SCSS
$custom: #af76fb; $custom-light: #ca9ffd; $custom-dark: #000000;
JSON
{
"hex": "#af76fb",
"rgb": {
"r": 175,
"g": 118,
"b": 251
},
"hsl": {
"h": 265.714,
"s": 94.326,
"l": 72.353
},
"oklch": {
"l": 0.68242,
"c": 0.1929,
"h": 301.2
},
"luminance": 0.29036
}Semantic roles & 50–950 ramp
primary
#AF76FB
secondary
#E8F6D5
accent
#E60083
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F18
muted
#827E86