#8D51BF#8D51BF
#8D51BF is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.4% C 0.170 H 306.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8D51BF |
|---|---|
| RGB | rgb(141, 81, 191) |
| HSL | hsl(273, 46%, 53%) |
| HSV | hsv(273, 58%, 75%) |
| CMYK | cmyk(26.2%, 57.6%, 0%, 25.1%) |
| CIE-LAB | lab(46.06, 45.58, -48.34) |
| CIE-LCH | lch(46.06, 66.44, 313.32°) |
| OKLab | oklab(55.43% 0.1021 -0.1362) |
| OKLCH | oklch(55.43% 0.17 306.9) |
| XYZ | xyz(23.3290, 15.3094, 51.0061) |
| Luminance | 0.1531 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.00
Royal Purple
#7851A9
ΔE00 5.07
Purply
#983FB2
ΔE00 5.11
Amethyst
#9B5FC0
ΔE00 5.13
Darkorchid
#9932CC
ΔE00 6.00
Purpley
#8756E4
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D51BF #83BF51
analogous
#5651BF #8D51BF #BF51BA
triadic
#8D51BF #BF8D51 #51BF8D
tetradic
#8D51BF #BF5651 #83BF51 #51BABF
square
#8D51BF #BF5651 #83BF51 #51BABF
split-complementary
#8D51BF #BABF51 #51BF56
monochromatic
#4E286D #6E399A #8D51BF #AA7ECF #C8AAE0
Accessibility & contrast
On white
5.17
#8D51BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#8D51BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D51BF
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D51BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D51BF | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#276BC3
Deuteranopia (green-blind)
#3F6EBC
Tritanopia (blue-blind)
#856680
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8d51bf; /* rgb */ color: rgb(141, 81, 191); /* oklch */ color: oklch(55.4% 0.170 306.9);
Tailwind
colors: {
custom: {
50: '#b184d3',
500: '#8d51bf',
950: '#000000',
},
}SCSS
$custom: #8d51bf; $custom-light: #b184d3; $custom-dark: #000000;
JSON
{
"hex": "#8d51bf",
"rgb": {
"r": 141,
"g": 81,
"b": 191
},
"hsl": {
"h": 272.727,
"s": 46.218,
"l": 53.333
},
"oklch": {
"l": 0.55431,
"c": 0.17023,
"h": 306.9
},
"luminance": 0.15309
}Semantic roles & 50–950 ramp
primary
#8D51BF
secondary
#B4CE9E
accent
#D6528E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83