#8F52CA#8F52CA
#8F52CA is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.5% C 0.182 H 304.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8F52CA |
|---|---|
| RGB | rgb(143, 82, 202) |
| HSL | hsl(271, 53%, 56%) |
| HSV | hsv(271, 59%, 79%) |
| CMYK | cmyk(29.2%, 59.4%, 0%, 20.8%) |
| CIE-LAB | lab(47.16, 48.15, -52.92) |
| CIE-LCH | lch(47.16, 71.55, 312.30°) |
| OKLab | oklab(56.5% 0.1035 -0.1496) |
| OKLCH | oklch(56.5% 0.182 304.7) |
| XYZ | xyz(25.0033, 16.1386, 57.6635) |
| Luminance | 0.1614 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.65
Deep Lavender
#8D5EB7
ΔE00 4.70
Amethyst
#9B5FC0
ΔE00 5.18
Lightish Purple
#A552E6
ΔE00 5.46
Darkorchid
#9932CC
ΔE00 6.05
Purply
#983FB2
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F52CA #8DCA52
analogous
#5352CA #8F52CA #CA52C9
triadic
#8F52CA #CA8F52 #52CA8F
tetradic
#8F52CA #CA5352 #8DCA52 #52C9CA
square
#8F52CA #CA5352 #8DCA52 #52C9CA
split-complementary
#8F52CA #C9CA52 #52CA53
monochromatic
#52267C #7034AB #8F52CA #AD81D8 #CCB0E7
Accessibility & contrast
On white
4.97
#8F52CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#8F52CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F52CA
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F52CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F52CA | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#196ECE
Deuteranopia (green-blind)
#3770C7
Tritanopia (blue-blind)
#856A86
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8f52ca; /* rgb */ color: rgb(143, 82, 202); /* oklch */ color: oklch(56.5% 0.182 304.7);
Tailwind
colors: {
custom: {
50: '#b385db',
500: '#8f52ca',
950: '#000000',
},
}SCSS
$custom: #8f52ca; $custom-light: #b385db; $custom-dark: #000000;
JSON
{
"hex": "#8f52ca",
"rgb": {
"r": 143,
"g": 82,
"b": 202
},
"hsl": {
"h": 270.5,
"s": 53.097,
"l": 55.686
},
"oklch": {
"l": 0.56502,
"c": 0.18189,
"h": 304.7
},
"luminance": 0.16138
}Semantic roles & 50–950 ramp
primary
#8F52CA
secondary
#BBD5A3
accent
#DD4B93
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83