#AF8FE3#AF8FE3
#AF8FE3 is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.2% C 0.124 H 300.8°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #AF8FE3 |
|---|---|
| RGB | rgb(175, 143, 227) |
| HSL | hsl(263, 60%, 73%) |
| HSV | hsv(263, 37%, 89%) |
| CMYK | cmyk(22.9%, 37%, 0%, 11%) |
| CIE-LAB | lab(65.20, 28.89, -38.26) |
| CIE-LCH | lch(65.20, 47.94, 307.06°) |
| OKLab | oklab(71.15% 0.0634 -0.1062) |
| OKLCH | oklch(71.15% 0.124 300.8) |
| XYZ | xyz(41.3637, 34.3048, 77.1005) |
| Luminance | 0.3431 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 4.38
Liliac
#C48EFD
ΔE00 5.18
Lavender
#B39DDB
ΔE00 5.18
Baby Purple
#CA9BF7
ΔE00 5.53
Lavender (survey)
#C79FEF
ΔE00 5.58
Pastel Purple
#CAA0FF
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF8FE3 #C3E38F
analogous
#8F99E3 #AF8FE3 #D98FE3
triadic
#AF8FE3 #E3AF8F #8FE3AF
tetradic
#AF8FE3 #E38F99 #C3E38F #8FE3D9
square
#AF8FE3 #E38F99 #C3E38F #8FE3D9
split-complementary
#AF8FE3 #E3D98F #99E38F
monochromatic
#6A32C6 #8C5ED7 #AF8FE3 #D2C0EF #EEE7F9
Accessibility & contrast
On white
2.67
#AF8FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#AF8FE3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AF8FE3
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF8FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF8FE3 | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B9EE6
Deuteranopia (green-blind)
#819EE1
Tritanopia (blue-blind)
#A69DAE
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #af8fe3; /* rgb */ color: rgb(175, 143, 227); /* oklch */ color: oklch(71.2% 0.124 300.8);
Tailwind
colors: {
custom: {
50: '#c8b0ec',
500: '#af8fe3',
950: '#000000',
},
}SCSS
$custom: #af8fe3; $custom-light: #c8b0ec; $custom-dark: #000000;
JSON
{
"hex": "#af8fe3",
"rgb": {
"r": 175,
"g": 143,
"b": 227
},
"hsl": {
"h": 262.857,
"s": 60,
"l": 72.549
},
"oklch": {
"l": 0.7115,
"c": 0.12375,
"h": 300.8
},
"luminance": 0.34305
}Semantic roles & 50–950 ramp
primary
#AF8FE3
secondary
#E8F0DB
accent
#C81E87
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84