#8F55B2#8F55B2
#8F55B2 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.5% C 0.150 H 311.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8F55B2 |
|---|---|
| RGB | rgb(143, 85, 178) |
| HSL | hsl(277, 38%, 52%) |
| HSV | hsv(277, 52%, 70%) |
| CMYK | cmyk(19.7%, 52.2%, 0%, 30.2%) |
| CIE-LAB | lab(46.38, 40.93, -40.22) |
| CIE-LCH | lch(46.38, 57.39, 315.50°) |
| OKLab | oklab(55.48% 0.0986 -0.1124) |
| OKLCH | oklch(55.48% 0.15 311.2) |
| XYZ | xyz(22.6106, 15.5514, 43.9215) |
| Luminance | 0.1555 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.76
Amethyst
#9B5FC0
ΔE00 4.26
Royal Purple
#7851A9
ΔE00 5.01
Purply
#983FB2
ΔE00 5.15
Medium Purple
#9E43A2
ΔE00 6.18
Ugly Purple
#A442A0
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F55B2 #78B255
analogous
#6155B2 #8F55B2 #B255A7
triadic
#8F55B2 #B28F55 #55B28F
tetradic
#8F55B2 #B26155 #78B255 #55A7B2
square
#8F55B2 #B26155 #78B255 #55A7B2
split-complementary
#8F55B2 #A7B255 #55B261
monochromatic
#4D2C61 #6E3F8B #8F55B2 #AB7FC5 #C7A9D8
Accessibility & contrast
On white
5.11
#8F55B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#8F55B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F55B2
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F55B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F55B2 | 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)
#3D6BB5
Deuteranopia (green-blind)
#4F6FB0
Tritanopia (blue-blind)
#8B647B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8f55b2; /* rgb */ color: rgb(143, 85, 178); /* oklch */ color: oklch(55.5% 0.150 311.2);
Tailwind
colors: {
custom: {
50: '#b287c9',
500: '#8f55b2',
950: '#000000',
},
}SCSS
$custom: #8f55b2; $custom-light: #b287c9; $custom-dark: #000000;
JSON
{
"hex": "#8f55b2",
"rgb": {
"r": 143,
"g": 85,
"b": 178
},
"hsl": {
"h": 277.419,
"s": 37.652,
"l": 51.569
},
"oklch": {
"l": 0.55485,
"c": 0.14954,
"h": 311.2
},
"luminance": 0.15551
}Semantic roles & 50–950 ramp
primary
#8F55B2
secondary
#ACC69D
accent
#CE5A86
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110B13
muted
#807C82