#8F52CB#8F52CB
#8F52CB is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.6% C 0.183 H 304.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8F52CB |
|---|---|
| RGB | rgb(143, 82, 203) |
| HSL | hsl(270, 54%, 56%) |
| HSV | hsv(270, 60%, 80%) |
| CMYK | cmyk(29.6%, 59.6%, 0%, 20.4%) |
| CIE-LAB | lab(47.22, 48.39, -53.40) |
| CIE-LCH | lch(47.22, 72.06, 312.18°) |
| OKLab | oklab(56.57% 0.1035 -0.151) |
| OKLCH | oklch(56.57% 0.183 304.4) |
| XYZ | xyz(25.1221, 16.1861, 58.2891) |
| Luminance | 0.1619 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.49
Deep Lavender
#8D5EB7
ΔE00 4.81
Amethyst
#9B5FC0
ΔE00 5.26
Lightish Purple
#A552E6
ΔE00 5.36
Darkorchid
#9932CC
ΔE00 6.06
Purply
#983FB2
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F52CB #8ECB52
analogous
#5252CB #8F52CB #CB52CA
triadic
#8F52CB #CB8F52 #52CB8F
tetradic
#8F52CB #CB5252 #8ECB52 #52CACB
square
#8F52CB #CB5252 #8ECB52 #52CACB
split-complementary
#8F52CB #CACB52 #52CB52
monochromatic
#52267D #7034AC #8F52CB #AD81D9 #CCB0E7
Accessibility & contrast
On white
4.96
#8F52CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#8F52CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F52CB
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F52CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F52CB | 1.00 | 4.96 | 4.24 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#176ECF
Deuteranopia (green-blind)
#3670C8
Tritanopia (blue-blind)
#846A87
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8f52cb; /* rgb */ color: rgb(143, 82, 203); /* oklch */ color: oklch(56.6% 0.183 304.4);
Tailwind
colors: {
custom: {
50: '#b385db',
500: '#8f52cb',
950: '#000000',
},
}SCSS
$custom: #8f52cb; $custom-light: #b385db; $custom-dark: #000000;
JSON
{
"hex": "#8f52cb",
"rgb": {
"r": 143,
"g": 82,
"b": 203
},
"hsl": {
"h": 270.248,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.56567,
"c": 0.18302,
"h": 304.4
},
"luminance": 0.16186
}Semantic roles & 50–950 ramp
primary
#8F52CB
secondary
#BCD5A3
accent
#DD4B93
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83