#8F52DE#8F52DE
#8F52DE is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.205 H 300.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8F52DE |
|---|---|
| RGB | rgb(143, 82, 222) |
| HSL | hsl(266, 68%, 60%) |
| HSV | hsv(266, 63%, 87%) |
| CMYK | cmyk(35.6%, 63.1%, 0%, 12.9%) |
| CIE-LAB | lab(48.45, 53.02, -62.28) |
| CIE-LCH | lch(48.45, 81.79, 310.41°) |
| OKLab | oklab(57.85% 0.1026 -0.1771) |
| OKLCH | oklch(57.85% 0.205 300.1) |
| XYZ | xyz(27.5266, 17.1479, 70.9527) |
| Luminance | 0.1715 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.02
Lightish Purple
#A552E6
ΔE00 4.14
Lighter Purple
#A55AF4
ΔE00 5.64
Light Indigo
#6D5ACF
ΔE00 6.72
Amethyst
#9B5FC0
ΔE00 6.99
Electric Purple
#AA23FF
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F52DE #A1DE52
analogous
#525BDE #8F52DE #D552DE
triadic
#8F52DE #DE8F52 #52DE8F
tetradic
#8F52DE #DE525B #A1DE52 #52DED5
square
#8F52DE #DE525B #A1DE52 #52DED5
split-complementary
#8F52DE #DED552 #5BDE52
monochromatic
#531D99 #6F27CC #8F52DE #B085E8 #D2B9F2
Accessibility & contrast
On white
4.74
#8F52DE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#8F52DE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F52DE
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F52DE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F52DE | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#1472DB
Tritanopia (blue-blind)
#7E7191
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #8f52de; /* rgb */ color: rgb(143, 82, 222); /* oklch */ color: oklch(57.9% 0.205 300.1);
Tailwind
colors: {
custom: {
50: '#b586e9',
500: '#8f52de',
950: '#000000',
},
}SCSS
$custom: #8f52de; $custom-light: #b586e9; $custom-dark: #000000;
JSON
{
"hex": "#8f52de",
"rgb": {
"r": 143,
"g": 82,
"b": 222
},
"hsl": {
"h": 266.143,
"s": 67.961,
"l": 59.608
},
"oklch": {
"l": 0.5785,
"c": 0.20463,
"h": 300.1
},
"luminance": 0.17148
}Semantic roles & 50–950 ramp
primary
#8F52DE
secondary
#C9E1AB
accent
#EB3D9F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84