#8D51BE#8D51BE
#8D51BE is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.4% C 0.169 H 307.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #8D51BE |
|---|---|
| RGB | rgb(141, 81, 190) |
| HSL | hsl(273, 46%, 53%) |
| HSV | hsv(273, 57%, 75%) |
| CMYK | cmyk(25.8%, 57.4%, 0%, 25.5%) |
| CIE-LAB | lab(46.00, 45.34, -47.85) |
| CIE-LCH | lch(46.00, 65.92, 313.46°) |
| OKLab | oklab(55.37% 0.1021 -0.1348) |
| OKLCH | oklch(55.37% 0.169 307.1) |
| XYZ | xyz(23.2193, 15.2655, 50.4286) |
| Luminance | 0.1527 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.93
Royal Purple
#7851A9
ΔE00 4.99
Purply
#983FB2
ΔE00 5.02
Amethyst
#9B5FC0
ΔE00 5.11
Darkorchid
#9932CC
ΔE00 6.04
Purpley
#8756E4
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D51BE #82BE51
analogous
#5651BE #8D51BE #BE51B8
triadic
#8D51BE #BE8D51 #51BE8D
tetradic
#8D51BE #BE5651 #82BE51 #51B8BE
square
#8D51BE #BE5651 #82BE51 #51B8BE
split-complementary
#8D51BE #B8BE51 #51BE56
monochromatic
#4E286C #6E3999 #8D51BE #AA7ECF #C7AADF
Accessibility & contrast
On white
5.18
#8D51BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#8D51BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D51BE
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D51BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D51BE | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#286BC2
Deuteranopia (green-blind)
#406DBB
Tritanopia (blue-blind)
#856680
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8d51be; /* rgb */ color: rgb(141, 81, 190); /* oklch */ color: oklch(55.4% 0.169 307.1);
Tailwind
colors: {
custom: {
50: '#b184d2',
500: '#8d51be',
950: '#000000',
},
}SCSS
$custom: #8d51be; $custom-light: #b184d2; $custom-dark: #000000;
JSON
{
"hex": "#8d51be",
"rgb": {
"r": 141,
"g": 81,
"b": 190
},
"hsl": {
"h": 273.028,
"s": 45.607,
"l": 53.137
},
"oklch": {
"l": 0.55368,
"c": 0.16907,
"h": 307.1
},
"luminance": 0.15265
}Semantic roles & 50–950 ramp
primary
#8D51BE
secondary
#B3CD9E
accent
#D5538D
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83