#8F54BC#8F54BC
#8F54BC is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.9% C 0.163 H 308.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8F54BC |
|---|---|
| RGB | rgb(143, 84, 188) |
| HSL | hsl(274, 44%, 53%) |
| HSV | hsv(274, 55%, 74%) |
| CMYK | cmyk(23.9%, 55.3%, 0%, 26.3%) |
| CIE-LAB | lab(46.73, 43.77, -45.51) |
| CIE-LCH | lch(46.73, 63.14, 313.89°) |
| OKLab | oklab(55.92% 0.1007 -0.1279) |
| OKLCH | oklch(55.92% 0.163 308.2) |
| XYZ | xyz(23.5733, 15.8114, 49.3773) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.01
Amethyst
#9B5FC0
ΔE00 4.15
Royal Purple
#7851A9
ΔE00 5.24
Purply
#983FB2
ΔE00 5.31
Darkorchid
#9932CC
ΔE00 6.82
Purpley
#8756E4
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F54BC #81BC54
analogous
#5B54BC #8F54BC #BC54B5
triadic
#8F54BC #BC8F54 #54BC8F
tetradic
#8F54BC #BC5B54 #81BC54 #54B5BC
square
#8F54BC #BC5B54 #81BC54 #54B5BC
split-complementary
#8F54BC #B5BC54 #54BC5B
monochromatic
#4F2A6B #703B97 #8F54BC #AC80CD #C9ACDE
Accessibility & contrast
On white
5.05
#8F54BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#8F54BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F54BC
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F54BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F54BC | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#326CBF
Deuteranopia (green-blind)
#476FB9
Tritanopia (blue-blind)
#886780
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8f54bc; /* rgb */ color: rgb(143, 84, 188); /* oklch */ color: oklch(55.9% 0.163 308.2);
Tailwind
colors: {
custom: {
50: '#b286d1',
500: '#8f54bc',
950: '#000000',
},
}SCSS
$custom: #8f54bc; $custom-light: #b286d1; $custom-dark: #000000;
JSON
{
"hex": "#8f54bc",
"rgb": {
"r": 143,
"g": 84,
"b": 188
},
"hsl": {
"h": 274.038,
"s": 43.697,
"l": 53.333
},
"oklch": {
"l": 0.55919,
"c": 0.16273,
"h": 308.2
},
"luminance": 0.15811
}Semantic roles & 50–950 ramp
primary
#8F54BC
secondary
#B3CCA0
accent
#D3548B
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82