#9B51CD#9B51CD
#9B51CD is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.9% C 0.190 H 309.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9B51CD |
|---|---|
| RGB | rgb(155, 81, 205) |
| HSL | hsl(276, 55%, 56%) |
| HSV | hsv(276, 60%, 80%) |
| CMYK | cmyk(24.4%, 60.5%, 0%, 19.6%) |
| CIE-LAB | lab(48.59, 52.21, -52.27) |
| CIE-LCH | lch(48.59, 73.88, 314.97°) |
| OKLab | oklab(57.92% 0.1201 -0.1473) |
| OKLCH | oklch(57.92% 0.19 309.2) |
| XYZ | xyz(27.4773, 17.2617, 59.6301) |
| Luminance | 0.1726 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.02
Amethyst
#9B5FC0
ΔE00 4.27
Deep Lavender
#8D5EB7
ΔE00 5.19
Purpley
#8756E4
ΔE00 5.73
Darkorchid
#9932CC
ΔE00 6.08
Purply
#983FB2
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B51CD #83CD51
analogous
#5D51CD #9B51CD #CD51C1
triadic
#9B51CD #CD9B51 #51CD9B
tetradic
#9B51CD #CD5D51 #83CD51 #51C1CD
square
#9B51CD #CD5D51 #83CD51 #51C1CD
split-complementary
#9B51CD #C1CD51 #51CD5D
monochromatic
#5B257F #7C32AF #9B51CD #B681DB #D2B0E8
Accessibility & contrast
On white
4.72
#9B51CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#9B51CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B51CD
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B51CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B51CD | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C70D1
Deuteranopia (green-blind)
#4074CA
Tritanopia (blue-blind)
#946987
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9b51cd; /* rgb */ color: rgb(155, 81, 205); /* oklch */ color: oklch(57.9% 0.190 309.2);
Tailwind
colors: {
custom: {
50: '#bc86dd',
500: '#9b51cd',
950: '#000000',
},
}SCSS
$custom: #9b51cd; $custom-light: #bc86dd; $custom-dark: #000000;
JSON
{
"hex": "#9b51cd",
"rgb": {
"r": 155,
"g": 81,
"b": 205
},
"hsl": {
"h": 275.806,
"s": 55.357,
"l": 56.078
},
"oklch": {
"l": 0.5792,
"c": 0.19006,
"h": 309.2
},
"luminance": 0.17261
}Semantic roles & 50–950 ramp
primary
#9B51CD
secondary
#B8D7A3
accent
#DF4985
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83