#8F52CF#8F52CF
#8F52CF is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.8% C 0.188 H 303.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8F52CF |
|---|---|
| RGB | rgb(143, 82, 207) |
| HSL | hsl(269, 57%, 57%) |
| HSV | hsv(269, 60%, 81%) |
| CMYK | cmyk(30.9%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(47.47, 49.35, -55.29) |
| CIE-LCH | lch(47.47, 74.12, 311.75°) |
| OKLab | oklab(56.83% 0.1034 -0.1565) |
| OKLCH | oklch(56.83% 0.188 303.4) |
| XYZ | xyz(25.6049, 16.3793, 60.8320) |
| Luminance | 0.1638 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.89
Lightish Purple
#A552E6
ΔE00 4.98
Deep Lavender
#8D5EB7
ΔE00 5.27
Amethyst
#9B5FC0
ΔE00 5.58
Darkorchid
#9932CC
ΔE00 6.17
Purply
#983FB2
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F52CF #92CF52
analogous
#5254CF #8F52CF #CE52CF
triadic
#8F52CF #CF8F52 #52CF8F
tetradic
#8F52CF #CF5254 #92CF52 #52CFCE
square
#8F52CF #CF5254 #92CF52 #52CFCE
split-complementary
#8F52CF #CFCE52 #54CF52
monochromatic
#522482 #7031B2 #8F52CF #AE82DC #CDB2EA
Accessibility & contrast
On white
4.91
#8F52CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#8F52CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F52CF
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F52CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F52CF | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#096FD3
Deuteranopia (green-blind)
#3170CC
Tritanopia (blue-blind)
#836C89
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8f52cf; /* rgb */ color: rgb(143, 82, 207); /* oklch */ color: oklch(56.8% 0.188 303.4);
Tailwind
colors: {
custom: {
50: '#b485de',
500: '#8f52cf',
950: '#000000',
},
}SCSS
$custom: #8f52cf; $custom-light: #b485de; $custom-dark: #000000;
JSON
{
"hex": "#8f52cf",
"rgb": {
"r": 143,
"g": 82,
"b": 207
},
"hsl": {
"h": 269.28,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.56829,
"c": 0.18759,
"h": 303.4
},
"luminance": 0.16379
}Semantic roles & 50–950 ramp
primary
#8F52CF
secondary
#BFD8A5
accent
#E04896
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83