#8F5CB2#8F5CB2
#8F5CB2 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.6% C 0.138 H 310.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8F5CB2 |
|---|---|
| RGB | rgb(143, 92, 178) |
| HSL | hsl(276, 36%, 53%) |
| HSV | hsv(276, 48%, 70%) |
| CMYK | cmyk(19.7%, 48.3%, 0%, 30.2%) |
| CIE-LAB | lab(47.89, 37.04, -37.83) |
| CIE-LCH | lch(47.89, 52.95, 314.39°) |
| OKLab | oklab(56.61% 0.0887 -0.1055) |
| OKLCH | oklch(56.61% 0.138 310) |
| XYZ | xyz(23.1892, 16.7087, 44.1143) |
| Luminance | 0.1671 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.32
Amethyst
#9B5FC0
ΔE00 3.26
Deep Lilac
#966EBD
ΔE00 5.84
Royal Purple
#7851A9
ΔE00 5.86
Purply
#983FB2
ΔE00 7.08
Medium Purple
#9E43A2
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F5CB2 #7FB25C
analogous
#645CB2 #8F5CB2 #B25CAA
triadic
#8F5CB2 #B28F5C #5CB28F
tetradic
#8F5CB2 #B2645C #7FB25C #5CAAB2
square
#8F5CB2 #B2645C #7FB25C #5CAAB2
split-complementary
#8F5CB2 #AAB25C #5CB264
monochromatic
#4F2F64 #6F438E #8F5CB2 #AC86C6 #C8AFD9
Accessibility & contrast
On white
4.84
#8F5CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#8F5CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F5CB2
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F5CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F5CB2 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#476FB5
Deuteranopia (green-blind)
#5573B0
Tritanopia (blue-blind)
#8B6A7F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8f5cb2; /* rgb */ color: rgb(143, 92, 178); /* oklch */ color: oklch(56.6% 0.138 310.0);
Tailwind
colors: {
custom: {
50: '#b28bc9',
500: '#8f5cb2',
950: '#000000',
},
}SCSS
$custom: #8f5cb2; $custom-light: #b28bc9; $custom-dark: #000000;
JSON
{
"hex": "#8f5cb2",
"rgb": {
"r": 143,
"g": 92,
"b": 178
},
"hsl": {
"h": 275.581,
"s": 35.833,
"l": 52.941
},
"oklch": {
"l": 0.56606,
"c": 0.13785,
"h": 310
},
"luminance": 0.16708
}Semantic roles & 50–950 ramp
primary
#8F5CB2
secondary
#B1C7A2
accent
#CC5C89
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82