#8F5DC6#8F5DC6
#8F5DC6 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.9% C 0.160 H 303.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8F5DC6 |
|---|---|
| RGB | rgb(143, 93, 198) |
| HSL | hsl(269, 48%, 57%) |
| HSV | hsv(269, 53%, 78%) |
| CMYK | cmyk(27.8%, 53%, 0%, 22.4%) |
| CIE-LAB | lab(49.19, 41.22, -47.37) |
| CIE-LCH | lch(49.19, 62.80, 311.03°) |
| OKLab | oklab(57.92% 0.0893 -0.1333) |
| OKLCH | oklch(57.92% 0.16 303.8) |
| XYZ | xyz(25.4328, 17.7456, 55.5005) |
| Luminance | 0.1775 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.74
Amethyst
#9B5FC0
ΔE00 3.25
Purpley
#8756E4
ΔE00 5.48
Lightish Purple
#A552E6
ΔE00 5.95
Deep Lilac
#966EBD
ΔE00 6.01
Mediumpurple
#9370DB
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F5DC6 #94C65D
analogous
#5D60C6 #8F5DC6 #C35DC6
triadic
#8F5DC6 #C68F5D #5DC68F
tetradic
#8F5DC6 #C65D60 #94C65D #5DC6C3
square
#8F5DC6 #C65D60 #94C65D #5DC6C3
split-complementary
#8F5DC6 #C6C35D #60C65D
monochromatic
#522C7D #703CAA #8F5DC6 #AE8AD6 #CEB8E6
Accessibility & contrast
On white
4.62
#8F5DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#8F5DC6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8F5DC6
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F5DC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F5DC6 | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3974CA
Deuteranopia (green-blind)
#4975C3
Tritanopia (blue-blind)
#857189
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8f5dc6; /* rgb */ color: rgb(143, 93, 198); /* oklch */ color: oklch(57.9% 0.160 303.8);
Tailwind
colors: {
custom: {
50: '#b38cd8',
500: '#8f5dc6',
950: '#000000',
},
}SCSS
$custom: #8f5dc6; $custom-light: #b38cd8; $custom-dark: #000000;
JSON
{
"hex": "#8f5dc6",
"rgb": {
"r": 143,
"g": 93,
"b": 198
},
"hsl": {
"h": 268.571,
"s": 47.945,
"l": 57.059
},
"oklch": {
"l": 0.57917,
"c": 0.16046,
"h": 303.8
},
"luminance": 0.17746
}Semantic roles & 50–950 ramp
primary
#8F5DC6
secondary
#C0D5AA
accent
#D85097
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83