#8F56CA#8F56CA
#8F56CA is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.176 H 304.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8F56CA |
|---|---|
| RGB | rgb(143, 86, 202) |
| HSL | hsl(269, 52%, 56%) |
| HSV | hsv(269, 57%, 79%) |
| CMYK | cmyk(29.2%, 57.4%, 0%, 20.8%) |
| CIE-LAB | lab(47.96, 46.02, -51.64) |
| CIE-LCH | lch(47.96, 69.17, 311.71°) |
| OKLab | oklab(57.09% 0.0985 -0.1458) |
| OKLCH | oklch(57.09% 0.176 304) |
| XYZ | xyz(25.3138, 16.7596, 57.7670) |
| Luminance | 0.1676 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.07
Amethyst
#9B5FC0
ΔE00 4.50
Purpley
#8756E4
ΔE00 4.51
Lightish Purple
#A552E6
ΔE00 5.29
Royal Purple
#7851A9
ΔE00 6.65
Purply
#983FB2
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F56CA #91CA56
analogous
#5657CA #8F56CA #C956CA
triadic
#8F56CA #CA8F56 #56CA8F
tetradic
#8F56CA #CA5657 #91CA56 #56CAC9
square
#8F56CA #CA5657 #91CA56 #56CAC9
split-complementary
#8F56CA #CAC956 #57CA56
monochromatic
#52287E #7036AD #8F56CA #AE85D9 #CDB3E7
Accessibility & contrast
On white
4.83
#8F56CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#8F56CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F56CA
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F56CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F56CA | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2570CE
Deuteranopia (green-blind)
#3D72C7
Tritanopia (blue-blind)
#846D88
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8f56ca; /* rgb */ color: rgb(143, 86, 202); /* oklch */ color: oklch(57.1% 0.176 304.0);
Tailwind
colors: {
custom: {
50: '#b388db',
500: '#8f56ca',
950: '#000000',
},
}SCSS
$custom: #8f56ca; $custom-light: #b388db; $custom-dark: #000000;
JSON
{
"hex": "#8f56ca",
"rgb": {
"r": 143,
"g": 86,
"b": 202
},
"hsl": {
"h": 269.483,
"s": 52.252,
"l": 56.471
},
"oklch": {
"l": 0.57087,
"c": 0.17597,
"h": 304
},
"luminance": 0.16759
}Semantic roles & 50–950 ramp
primary
#8F56CA
secondary
#BED6A6
accent
#DC4C95
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83