#AF82E7#AF82E7
#AF82E7 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.1% C 0.150 H 303.3°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AF82E7 |
|---|---|
| RGB | rgb(175, 130, 231) |
| HSL | hsl(267, 68%, 71%) |
| HSV | hsv(267, 44%, 91%) |
| CMYK | cmyk(24.2%, 43.7%, 0%, 9.4%) |
| CIE-LAB | lab(62.38, 37.11, -44.90) |
| CIE-LCH | lch(62.38, 58.25, 309.57°) |
| OKLab | oklab(69.08% 0.0822 -0.1254) |
| OKLCH | oklch(69.08% 0.15 303.3) |
| XYZ | xyz(40.0825, 30.8488, 79.4286) |
| Luminance | 0.3085 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.43
Liliac
#C48EFD
ΔE00 4.95
Light Urple
#B36FF6
ΔE00 5.43
Easter Purple
#C071FE
ΔE00 5.85
Pale Purple
#B790D4
ΔE00 6.73
Wisteria
#A87DC2
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF82E7 #BAE782
analogous
#8287E7 #AF82E7 #E282E7
triadic
#AF82E7 #E7AF82 #82E7AF
tetradic
#AF82E7 #E78287 #BAE782 #82E7E2
square
#AF82E7 #E78287 #BAE782 #82E7E2
split-complementary
#AF82E7 #E7E282 #87E782
monochromatic
#6E26C8 #8E4FDD #AF82E7 #D0B5F1 #EFE5FA
Accessibility & contrast
On white
2.93
#AF82E7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#AF82E7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF82E7
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF82E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF82E7 | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6796EB
Deuteranopia (green-blind)
#7297E4
Tritanopia (blue-blind)
#A593A9
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #af82e7; /* rgb */ color: rgb(175, 130, 231); /* oklch */ color: oklch(69.1% 0.150 303.3);
Tailwind
colors: {
custom: {
50: '#c9a7ef',
500: '#af82e7',
950: '#000000',
},
}SCSS
$custom: #af82e7; $custom-light: #c9a7ef; $custom-dark: #000000;
JSON
{
"hex": "#af82e7",
"rgb": {
"r": 175,
"g": 130,
"b": 231
},
"hsl": {
"h": 266.733,
"s": 67.785,
"l": 70.784
},
"oklch": {
"l": 0.69075,
"c": 0.14999,
"h": 303.3
},
"luminance": 0.30849
}Semantic roles & 50–950 ramp
primary
#AF82E7
secondary
#E4F0D5
accent
#D0167D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84