#8F5CD4#8F5CD4
#8F5CD4 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.179 H 300.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8F5CD4 |
|---|---|
| RGB | rgb(143, 92, 212) |
| HSL | hsl(266, 58%, 60%) |
| HSV | hsv(266, 57%, 83%) |
| CMYK | cmyk(32.5%, 56.6%, 0%, 16.9%) |
| CIE-LAB | lab(49.79, 45.23, -54.42) |
| CIE-LCH | lch(49.79, 70.76, 309.73°) |
| OKLab | oklab(58.63% 0.0911 -0.154) |
| OKLCH | oklch(58.63% 0.179 300.6) |
| XYZ | xyz(27.0357, 18.2472, 64.3723) |
| Luminance | 0.1825 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.36
Lightish Purple
#A552E6
ΔE00 4.61
Amethyst
#9B5FC0
ΔE00 4.99
Deep Lavender
#8D5EB7
ΔE00 5.08
Lighter Purple
#A55AF4
ΔE00 5.64
Mediumpurple
#9370DB
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F5CD4 #A1D45C
analogous
#5C65D4 #8F5CD4 #CB5CD4
triadic
#8F5CD4 #D48F5C #5CD48F
tetradic
#8F5CD4 #D45C65 #A1D45C #5CD4CB
square
#8F5CD4 #D45C65 #A1D45C #5CD4CB
split-complementary
#8F5CD4 #D4CB5C #65D45C
monochromatic
#532690 #6F33C0 #8F5CD4 #B08CE1 #D2BDEE
Accessibility & contrast
On white
4.52
#8F5CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#8F5CD4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F5CD4
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F5CD4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F5CD4 | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2676D8
Deuteranopia (green-blind)
#3A76D1
Tritanopia (blue-blind)
#81748F
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8f5cd4; /* rgb */ color: rgb(143, 92, 212); /* oklch */ color: oklch(58.6% 0.179 300.6);
Tailwind
colors: {
custom: {
50: '#b48ce2',
500: '#8f5cd4',
950: '#000000',
},
}SCSS
$custom: #8f5cd4; $custom-light: #b48ce2; $custom-dark: #000000;
JSON
{
"hex": "#8f5cd4",
"rgb": {
"r": 143,
"g": 92,
"b": 212
},
"hsl": {
"h": 265.5,
"s": 58.252,
"l": 59.608
},
"oklch": {
"l": 0.5863,
"c": 0.17891,
"h": 300.6
},
"luminance": 0.18247
}Semantic roles & 50–950 ramp
primary
#8F5CD4
secondary
#C9DDAF
accent
#E146A0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83