#8D51CF#8D51CF
#8D51CF is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.5% C 0.189 H 302.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8D51CF |
|---|---|
| RGB | rgb(141, 81, 207) |
| HSL | hsl(269, 57%, 56%) |
| HSV | hsv(269, 61%, 81%) |
| CMYK | cmyk(31.9%, 60.9%, 0%, 18.8%) |
| CIE-LAB | lab(47.04, 49.42, -55.99) |
| CIE-LCH | lch(47.04, 74.68, 311.43°) |
| OKLab | oklab(56.47% 0.1019 -0.1587) |
| OKLCH | oklch(56.47% 0.189 302.7) |
| XYZ | xyz(25.1868, 16.0526, 60.7909) |
| Luminance | 0.1605 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.81
Lightish Purple
#A552E6
ΔE00 5.34
Deep Lavender
#8D5EB7
ΔE00 5.53
Darkorchid
#9932CC
ΔE00 6.01
Amethyst
#9B5FC0
ΔE00 6.01
Light Indigo
#6D5ACF
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D51CF #93CF51
analogous
#5154CF #8D51CF #CC51CF
triadic
#8D51CF #CF8D51 #51CF8D
tetradic
#8D51CF #CF5154 #93CF51 #51CFCC
square
#8D51CF #CF5154 #93CF51 #51CFCC
split-complementary
#8D51CF #CFCC51 #54CF51
monochromatic
#512482 #6E31B2 #8D51CF #AC81DC #CCB1E9
Accessibility & contrast
On white
4.99
#8D51CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#8D51CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D51CF
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D51CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D51CF | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#2D6FCC
Tritanopia (blue-blind)
#806B88
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8d51cf; /* rgb */ color: rgb(141, 81, 207); /* oklch */ color: oklch(56.5% 0.189 302.7);
Tailwind
colors: {
custom: {
50: '#b285de',
500: '#8d51cf',
950: '#000000',
},
}SCSS
$custom: #8d51cf; $custom-light: #b285de; $custom-dark: #000000;
JSON
{
"hex": "#8d51cf",
"rgb": {
"r": 141,
"g": 81,
"b": 207
},
"hsl": {
"h": 268.571,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.56469,
"c": 0.18858,
"h": 302.7
},
"luminance": 0.16053
}Semantic roles & 50–950 ramp
primary
#8D51CF
secondary
#BFD8A4
accent
#E04898
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83