#8F56DD#8F56DD
#8F56DD is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.3% C 0.198 H 299.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8F56DD |
|---|---|
| RGB | rgb(143, 86, 221) |
| HSL | hsl(265, 67%, 60%) |
| HSV | hsv(265, 61%, 87%) |
| CMYK | cmyk(35.3%, 61.1%, 0%, 13.3%) |
| CIE-LAB | lab(49.15, 50.70, -60.58) |
| CIE-LCH | lch(49.15, 78.99, 309.93°) |
| OKLab | oklab(58.34% 0.0981 -0.1721) |
| OKLCH | oklch(58.34% 0.198 299.7) |
| XYZ | xyz(27.7034, 17.7154, 70.3525) |
| Luminance | 0.1772 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.90
Lightish Purple
#A552E6
ΔE00 4.01
Lighter Purple
#A55AF4
ΔE00 5.21
Amethyst
#9B5FC0
ΔE00 6.50
Light Indigo
#6D5ACF
ΔE00 6.58
Deep Lavender
#8D5EB7
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F56DD #A4DD56
analogous
#5661DD #8F56DD #D256DD
triadic
#8F56DD #DD8F56 #56DD8F
tetradic
#8F56DD #DD5661 #A4DD56 #56DDD2
square
#8F56DD #DD5661 #A4DD56 #56DDD2
split-complementary
#8F56DD #DDD256 #61DD56
monochromatic
#531F9A #6E29CD #8F56DD #B189E7 #D3BCF2
Accessibility & contrast
On white
4.62
#8F56DD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#8F56DD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8F56DD
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F56DD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F56DD | 1.00 | 4.62 | 4.54 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#2274DA
Tritanopia (blue-blind)
#7E7392
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8f56dd; /* rgb */ color: rgb(143, 86, 221); /* oklch */ color: oklch(58.3% 0.198 299.7);
Tailwind
colors: {
custom: {
50: '#b588e8',
500: '#8f56dd',
950: '#000000',
},
}SCSS
$custom: #8f56dd; $custom-light: #b588e8; $custom-dark: #000000;
JSON
{
"hex": "#8f56dd",
"rgb": {
"r": 143,
"g": 86,
"b": 221
},
"hsl": {
"h": 265.333,
"s": 66.502,
"l": 60.196
},
"oklch": {
"l": 0.58339,
"c": 0.19807,
"h": 299.7
},
"luminance": 0.17716
}Semantic roles & 50–950 ramp
primary
#8F56DD
secondary
#CBE1AE
accent
#CE1781
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84