#8F52CC#8F52CC
#8F52CC is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.6% C 0.184 H 304.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8F52CC |
|---|---|
| RGB | rgb(143, 82, 204) |
| HSL | hsl(270, 54%, 56%) |
| HSV | hsv(270, 60%, 80%) |
| CMYK | cmyk(29.9%, 59.8%, 0%, 20%) |
| CIE-LAB | lab(47.28, 48.63, -53.87) |
| CIE-LCH | lch(47.28, 72.58, 312.07°) |
| OKLab | oklab(56.63% 0.1034 -0.1524) |
| OKLCH | oklch(56.63% 0.184 304.2) |
| XYZ | xyz(25.2416, 16.2339, 58.9187) |
| Luminance | 0.1623 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.34
Deep Lavender
#8D5EB7
ΔE00 4.93
Lightish Purple
#A552E6
ΔE00 5.26
Amethyst
#9B5FC0
ΔE00 5.33
Darkorchid
#9932CC
ΔE00 6.08
Purply
#983FB2
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F52CC #8FCC52
analogous
#5252CC #8F52CC #CC52CC
triadic
#8F52CC #CC8F52 #52CC8F
tetradic
#8F52CC #CC5252 #8FCC52 #52CCCC
square
#8F52CC #CC5252 #8FCC52 #52CCCC
split-complementary
#8F52CC #CCCC52 #52CC52
monochromatic
#52257E #7033AE #8F52CC #AE81DA #CCB1E8
Accessibility & contrast
On white
4.94
#8F52CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#8F52CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F52CC
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F52CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F52CC | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#146FD0
Deuteranopia (green-blind)
#3570C9
Tritanopia (blue-blind)
#846B87
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8f52cc; /* rgb */ color: rgb(143, 82, 204); /* oklch */ color: oklch(56.6% 0.184 304.2);
Tailwind
colors: {
custom: {
50: '#b485dc',
500: '#8f52cc',
950: '#000000',
},
}SCSS
$custom: #8f52cc; $custom-light: #b485dc; $custom-dark: #000000;
JSON
{
"hex": "#8f52cc",
"rgb": {
"r": 143,
"g": 82,
"b": 204
},
"hsl": {
"h": 270,
"s": 54.464,
"l": 56.078
},
"oklch": {
"l": 0.56632,
"c": 0.18417,
"h": 304.2
},
"luminance": 0.16234
}Semantic roles & 50–950 ramp
primary
#8F52CC
secondary
#BDD6A4
accent
#DE4A94
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83