#8F52DF#8F52DF
#8F52DF is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.9% C 0.206 H 299.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8F52DF |
|---|---|
| RGB | rgb(143, 82, 223) |
| HSL | hsl(266, 69%, 60%) |
| HSV | hsv(266, 63%, 87%) |
| CMYK | cmyk(35.9%, 63.2%, 0%, 12.5%) |
| CIE-LAB | lab(48.51, 53.27, -62.74) |
| CIE-LCH | lch(48.51, 82.30, 310.33°) |
| OKLab | oklab(57.92% 0.1025 -0.1784) |
| OKLCH | oklch(57.92% 0.206 299.9) |
| XYZ | xyz(27.6610, 17.2017, 71.6607) |
| Luminance | 0.1720 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.93
Lightish Purple
#A552E6
ΔE00 4.11
Lighter Purple
#A55AF4
ΔE00 5.56
Light Indigo
#6D5ACF
ΔE00 6.74
Electric Purple
#AA23FF
ΔE00 6.95
Amethyst
#9B5FC0
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F52DF #A2DF52
analogous
#525CDF #8F52DF #D552DF
triadic
#8F52DF #DF8F52 #52DF8F
tetradic
#8F52DF #DF525C #A2DF52 #52DFD5
square
#8F52DF #DF525C #A2DF52 #52DFD5
split-complementary
#8F52DF #DFD552 #5CDF52
monochromatic
#531D9A #6F26CE #8F52DF #B086E9 #D2B9F2
Accessibility & contrast
On white
4.73
#8F52DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#8F52DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F52DF
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F52DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F52DF | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#1072DC
Tritanopia (blue-blind)
#7D7191
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #8f52df; /* rgb */ color: rgb(143, 82, 223); /* oklch */ color: oklch(57.9% 0.206 299.9);
Tailwind
colors: {
custom: {
50: '#b586ea',
500: '#8f52df',
950: '#000000',
},
}SCSS
$custom: #8f52df; $custom-light: #b586ea; $custom-dark: #000000;
JSON
{
"hex": "#8f52df",
"rgb": {
"r": 143,
"g": 82,
"b": 223
},
"hsl": {
"h": 265.957,
"s": 68.78,
"l": 59.804
},
"oklch": {
"l": 0.5792,
"c": 0.20576,
"h": 299.9
},
"luminance": 0.17202
}Semantic roles & 50–950 ramp
primary
#8F52DF
secondary
#CAE2AB
accent
#EC3CA0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84