#8D51B3#8D51B3
#8D51B3 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.7% C 0.156 H 310.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8D51B3 |
|---|---|
| RGB | rgb(141, 81, 179) |
| HSL | hsl(277, 39%, 51%) |
| HSV | hsv(277, 55%, 70%) |
| CMYK | cmyk(21.2%, 54.7%, 0%, 29.8%) |
| CIE-LAB | lab(45.36, 42.79, -42.44) |
| CIE-LCH | lch(45.36, 60.27, 315.24°) |
| OKLab | oklab(54.7% 0.1016 -0.1189) |
| OKLCH | oklch(54.7% 0.156 310.5) |
| XYZ | xyz(22.0621, 14.8027, 44.3341) |
| Luminance | 0.1480 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.71
Purply
#983FB2
ΔE00 4.33
Royal Purple
#7851A9
ΔE00 4.43
Amethyst
#9B5FC0
ΔE00 5.22
Medium Purple
#9E43A2
ΔE00 6.06
Darkorchid
#9932CC
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D51B3 #77B351
analogous
#5C51B3 #8D51B3 #B351A8
triadic
#8D51B3 #B38D51 #51B38D
tetradic
#8D51B3 #B35C51 #77B351 #51A8B3
square
#8D51B3 #B35C51 #77B351 #51A8B3
split-complementary
#8D51B3 #A8B351 #51B35C
monochromatic
#4B2A60 #6C3C8A #8D51B3 #A97CC6 #C5A6D8
Accessibility & contrast
On white
5.30
#8D51B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#8D51B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D51B3
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D51B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D51B3 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3469B6
Deuteranopia (green-blind)
#496CB1
Tritanopia (blue-blind)
#88627A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8d51b3; /* rgb */ color: rgb(141, 81, 179); /* oklch */ color: oklch(54.7% 0.156 310.5);
Tailwind
colors: {
custom: {
50: '#b184ca',
500: '#8d51b3',
950: '#000000',
},
}SCSS
$custom: #8d51b3; $custom-light: #b184ca; $custom-dark: #000000;
JSON
{
"hex": "#8d51b3",
"rgb": {
"r": 141,
"g": 81,
"b": 179
},
"hsl": {
"h": 276.735,
"s": 39.2,
"l": 50.98
},
"oklch": {
"l": 0.54699,
"c": 0.15644,
"h": 310.5
},
"luminance": 0.14802
}Semantic roles & 50–950 ramp
primary
#8D51B3
secondary
#ABC69A
accent
#CF5987
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82