#8F56DC#8F56DC
#8F56DC is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.3% C 0.197 H 299.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #8F56DC |
|---|---|
| RGB | rgb(143, 86, 220) |
| HSL | hsl(266, 66%, 60%) |
| HSV | hsv(266, 61%, 86%) |
| CMYK | cmyk(35%, 60.9%, 0%, 13.7%) |
| CIE-LAB | lab(49.08, 50.45, -60.11) |
| CIE-LCH | lch(49.08, 78.48, 310.00°) |
| OKLab | oklab(58.27% 0.0981 -0.1707) |
| OKLCH | oklch(58.27% 0.197 299.9) |
| XYZ | xyz(27.5706, 17.6623, 69.6529) |
| Luminance | 0.1766 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.01
Lightish Purple
#A552E6
ΔE00 4.04
Lighter Purple
#A55AF4
ΔE00 5.30
Amethyst
#9B5FC0
ΔE00 6.39
Deep Lavender
#8D5EB7
ΔE00 6.53
Light Indigo
#6D5ACF
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F56DC #A3DC56
analogous
#5660DC #8F56DC #D256DC
triadic
#8F56DC #DC8F56 #56DC8F
tetradic
#8F56DC #DC5660 #A3DC56 #56DCD2
square
#8F56DC #DC5660 #A3DC56 #56DCD2
split-complementary
#8F56DC #DCD256 #60DC56
monochromatic
#532098 #6E2ACB #8F56DC #B189E6 #D2BBF1
Accessibility & contrast
On white
4.63
#8F56DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#8F56DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8F56DC
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F56DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F56DC | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#2474D9
Tritanopia (blue-blind)
#7E7391
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #8f56dc; /* rgb */ color: rgb(143, 86, 220); /* oklch */ color: oklch(58.3% 0.197 299.9);
Tailwind
colors: {
custom: {
50: '#b488e8',
500: '#8f56dc',
950: '#000000',
},
}SCSS
$custom: #8f56dc; $custom-light: #b488e8; $custom-dark: #000000;
JSON
{
"hex": "#8f56dc",
"rgb": {
"r": 143,
"g": 86,
"b": 220
},
"hsl": {
"h": 265.522,
"s": 65.686,
"l": 60
},
"oklch": {
"l": 0.58271,
"c": 0.19691,
"h": 299.9
},
"luminance": 0.17663
}Semantic roles & 50–950 ramp
primary
#8F56DC
secondary
#CBE1AD
accent
#E93FA1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84