#8F52BD#8F52BD
#8F52BD is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.7% C 0.167 H 308.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8F52BD |
|---|---|
| RGB | rgb(143, 82, 189) |
| HSL | hsl(274, 45%, 53%) |
| HSV | hsv(274, 57%, 74%) |
| CMYK | cmyk(24.3%, 56.6%, 0%, 25.9%) |
| CIE-LAB | lab(46.38, 45.08, -46.65) |
| CIE-LCH | lch(46.38, 64.87, 314.02°) |
| OKLab | oklab(55.68% 0.1033 -0.1312) |
| OKLCH | oklch(55.68% 0.167 308.2) |
| XYZ | xyz(23.5285, 15.5487, 49.8960) |
| Luminance | 0.1555 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.56
Amethyst
#9B5FC0
ΔE00 4.59
Purply
#983FB2
ΔE00 4.96
Royal Purple
#7851A9
ΔE00 5.23
Darkorchid
#9932CC
ΔE00 6.29
Purpley
#8756E4
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F52BD #80BD52
analogous
#5952BD #8F52BD #BD52B5
triadic
#8F52BD #BD8F52 #52BD8F
tetradic
#8F52BD #BD5952 #80BD52 #52B5BD
square
#8F52BD #BD5952 #80BD52 #52B5BD
split-complementary
#8F52BD #B5BD52 #52BD59
monochromatic
#4F296C #6F3A98 #8F52BD #AC7ECE #C8ABDF
Accessibility & contrast
On white
5.11
#8F52BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#8F52BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F52BD
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F52BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F52BD | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D6BC1
Deuteranopia (green-blind)
#446FBA
Tritanopia (blue-blind)
#886680
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8f52bd; /* rgb */ color: rgb(143, 82, 189); /* oklch */ color: oklch(55.7% 0.167 308.2);
Tailwind
colors: {
custom: {
50: '#b385d1',
500: '#8f52bd',
950: '#000000',
},
}SCSS
$custom: #8f52bd; $custom-light: #b385d1; $custom-dark: #000000;
JSON
{
"hex": "#8f52bd",
"rgb": {
"r": 143,
"g": 82,
"b": 189
},
"hsl": {
"h": 274.206,
"s": 44.77,
"l": 53.137
},
"oklch": {
"l": 0.55681,
"c": 0.167,
"h": 308.2
},
"luminance": 0.15548
}Semantic roles & 50–950 ramp
primary
#8F52BD
secondary
#B2CC9E
accent
#D4538B
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82