#8F56BD#8F56BD
#8F56BD is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.3% C 0.161 H 307.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8F56BD |
|---|---|
| RGB | rgb(143, 86, 189) |
| HSL | hsl(273, 44%, 54%) |
| HSV | hsv(273, 54%, 74%) |
| CMYK | cmyk(24.3%, 54.5%, 0%, 25.9%) |
| CIE-LAB | lab(47.20, 42.92, -45.34) |
| CIE-LCH | lch(47.20, 62.44, 313.43°) |
| OKLab | oklab(56.28% 0.098 -0.1274) |
| OKLCH | oklch(56.28% 0.161 307.6) |
| XYZ | xyz(23.8389, 16.1696, 49.9994) |
| Luminance | 0.1617 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.58
Amethyst
#9B5FC0
ΔE00 3.75
Royal Purple
#7851A9
ΔE00 5.43
Purply
#983FB2
ΔE00 5.84
Purpley
#8756E4
ΔE00 6.71
Lightish Purple
#A552E6
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F56BD #84BD56
analogous
#5C56BD #8F56BD #BD56B8
triadic
#8F56BD #BD8F56 #56BD8F
tetradic
#8F56BD #BD5C56 #84BD56 #56B8BD
square
#8F56BD #BD5C56 #84BD56 #56B8BD
split-complementary
#8F56BD #B8BD56 #56BD5C
monochromatic
#502B6E #703C9A #8F56BD #AC82CE #C9AEDF
Accessibility & contrast
On white
4.96
#8F56BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#8F56BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F56BD
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F56BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F56BD | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#356EC0
Deuteranopia (green-blind)
#4871BA
Tritanopia (blue-blind)
#886981
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8f56bd; /* rgb */ color: rgb(143, 86, 189); /* oklch */ color: oklch(56.3% 0.161 307.6);
Tailwind
colors: {
custom: {
50: '#b288d1',
500: '#8f56bd',
950: '#000000',
},
}SCSS
$custom: #8f56bd; $custom-light: #b288d1; $custom-dark: #000000;
JSON
{
"hex": "#8f56bd",
"rgb": {
"r": 143,
"g": 86,
"b": 189
},
"hsl": {
"h": 273.204,
"s": 43.83,
"l": 53.922
},
"oklch": {
"l": 0.56284,
"c": 0.16075,
"h": 307.6
},
"luminance": 0.16169
}Semantic roles & 50–950 ramp
primary
#8F56BD
secondary
#B5CDA1
accent
#D4548D
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82