#8B51CD#8B51CD
#8B51CD is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.1% C 0.186 H 302.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8B51CD |
|---|---|
| RGB | rgb(139, 81, 205) |
| HSL | hsl(268, 55%, 56%) |
| HSV | hsv(268, 60%, 80%) |
| CMYK | cmyk(32.2%, 60.5%, 0%, 19.6%) |
| CIE-LAB | lab(46.69, 48.47, -55.43) |
| CIE-LCH | lch(46.69, 73.63, 311.17°) |
| OKLab | oklab(56.12% 0.0994 -0.1571) |
| OKLCH | oklch(56.12% 0.186 302.3) |
| XYZ | xyz(24.6068, 15.7816, 59.4956) |
| Luminance | 0.1578 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.97
Deep Lavender
#8D5EB7
ΔE00 5.43
Lightish Purple
#A552E6
ΔE00 5.79
Darkorchid
#9932CC
ΔE00 6.04
Amethyst
#9B5FC0
ΔE00 6.15
Light Indigo
#6D5ACF
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B51CD #93CD51
analogous
#5155CD #8B51CD #C951CD
triadic
#8B51CD #CD8B51 #51CD8B
tetradic
#8B51CD #CD5155 #93CD51 #51CDC9
square
#8B51CD #CD5155 #93CD51 #51CDC9
split-complementary
#8B51CD #CDC951 #55CD51
monochromatic
#4F257F #6C32AF #8B51CD #AB81DB #CAB0E8
Accessibility & contrast
On white
5.05
#8B51CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#8B51CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8B51CD
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B51CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B51CD | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#036ED1
Deuteranopia (green-blind)
#2D6ECA
Tritanopia (blue-blind)
#7E6B87
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8b51cd; /* rgb */ color: rgb(139, 81, 205); /* oklch */ color: oklch(56.1% 0.186 302.3);
Tailwind
colors: {
custom: {
50: '#b185dd',
500: '#8b51cd',
950: '#000000',
},
}SCSS
$custom: #8b51cd; $custom-light: #b185dd; $custom-dark: #000000;
JSON
{
"hex": "#8b51cd",
"rgb": {
"r": 139,
"g": 81,
"b": 205
},
"hsl": {
"h": 268.065,
"s": 55.357,
"l": 56.078
},
"oklch": {
"l": 0.56117,
"c": 0.18587,
"h": 302.3
},
"luminance": 0.15782
}Semantic roles & 50–950 ramp
primary
#8B51CD
secondary
#BFD7A3
accent
#DF4999
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83