#AF83E7#AF83E7
#AF83E7 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.2% C 0.148 H 303.0°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #AF83E7 |
|---|---|
| RGB | rgb(175, 131, 231) |
| HSL | hsl(266, 68%, 71%) |
| HSV | hsv(266, 43%, 91%) |
| CMYK | cmyk(24.2%, 43.3%, 0%, 9.4%) |
| CIE-LAB | lab(62.61, 36.55, -44.55) |
| CIE-LCH | lch(62.61, 57.62, 309.37°) |
| OKLab | oklab(69.24% 0.0809 -0.1244) |
| OKLCH | oklch(69.24% 0.148 303) |
| XYZ | xyz(40.2162, 31.1161, 79.4731) |
| Luminance | 0.3112 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.63
Liliac
#C48EFD
ΔE00 4.83
Light Urple
#B36FF6
ΔE00 5.69
Easter Purple
#C071FE
ΔE00 6.06
Pale Purple
#B790D4
ΔE00 6.55
Wisteria
#A87DC2
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF83E7 #BBE783
analogous
#8389E7 #AF83E7 #E183E7
triadic
#AF83E7 #E7AF83 #83E7AF
tetradic
#AF83E7 #E78389 #BBE783 #83E7E1
square
#AF83E7 #E78389 #BBE783 #83E7E1
split-complementary
#AF83E7 #E7E183 #89E783
monochromatic
#6E27C9 #8E50DD #AF83E7 #D0B6F1 #EEE5FA
Accessibility & contrast
On white
2.91
#AF83E7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#AF83E7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF83E7
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF83E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF83E7 | 1.00 | 2.91 | 7.22 | 7.22 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6996EB
Deuteranopia (green-blind)
#7397E4
Tritanopia (blue-blind)
#A594AA
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #af83e7; /* rgb */ color: rgb(175, 131, 231); /* oklch */ color: oklch(69.2% 0.148 303.0);
Tailwind
colors: {
custom: {
50: '#c9a8ef',
500: '#af83e7',
950: '#000000',
},
}SCSS
$custom: #af83e7; $custom-light: #c9a8ef; $custom-dark: #000000;
JSON
{
"hex": "#af83e7",
"rgb": {
"r": 175,
"g": 131,
"b": 231
},
"hsl": {
"h": 266.4,
"s": 67.568,
"l": 70.98
},
"oklch": {
"l": 0.69244,
"c": 0.14838,
"h": 303
},
"luminance": 0.31116
}Semantic roles & 50–950 ramp
primary
#AF83E7
secondary
#E4F0D6
accent
#CF167E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84