#8F5CD3#8F5CD3
#8F5CD3 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.178 H 300.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8F5CD3 |
|---|---|
| RGB | rgb(143, 92, 211) |
| HSL | hsl(266, 57%, 59%) |
| HSV | hsv(266, 56%, 83%) |
| CMYK | cmyk(32.2%, 56.4%, 0%, 17.3%) |
| CIE-LAB | lab(49.73, 44.98, -53.95) |
| CIE-LCH | lch(49.73, 70.24, 309.82°) |
| OKLab | oklab(58.57% 0.0911 -0.1526) |
| OKLCH | oklch(58.57% 0.178 300.8) |
| XYZ | xyz(26.9099, 18.1969, 63.7100) |
| Luminance | 0.1820 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.48
Lightish Purple
#A552E6
ΔE00 4.67
Amethyst
#9B5FC0
ΔE00 4.86
Deep Lavender
#8D5EB7
ΔE00 4.93
Lighter Purple
#A55AF4
ΔE00 5.75
Mediumpurple
#9370DB
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F5CD3 #A0D35C
analogous
#5C65D3 #8F5CD3 #CA5CD3
triadic
#8F5CD3 #D38F5C #5CD38F
tetradic
#8F5CD3 #D35C65 #A0D35C #5CD3CA
square
#8F5CD3 #D35C65 #A0D35C #5CD3CA
split-complementary
#8F5CD3 #D3CA5C #65D35C
monochromatic
#53268E #6F33BE #8F5CD3 #B08CE0 #D1BCED
Accessibility & contrast
On white
4.53
#8F5CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#8F5CD3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F5CD3
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F5CD3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F5CD3 | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2876D7
Deuteranopia (green-blind)
#3C76D0
Tritanopia (blue-blind)
#81748F
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8f5cd3; /* rgb */ color: rgb(143, 92, 211); /* oklch */ color: oklch(58.6% 0.178 300.8);
Tailwind
colors: {
custom: {
50: '#b38ce1',
500: '#8f5cd3',
950: '#000000',
},
}SCSS
$custom: #8f5cd3; $custom-light: #b38ce1; $custom-dark: #000000;
JSON
{
"hex": "#8f5cd3",
"rgb": {
"r": 143,
"g": 92,
"b": 211
},
"hsl": {
"h": 265.714,
"s": 57.488,
"l": 59.412
},
"oklch": {
"l": 0.58566,
"c": 0.17771,
"h": 300.8
},
"luminance": 0.18197
}Semantic roles & 50–950 ramp
primary
#8F5CD3
secondary
#C9DDAE
accent
#E1479F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83