#9B4DCE#9B4DCE
#9B4DCE is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.5% C 0.197 H 309.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4DCE |
|---|---|
| RGB | rgb(155, 77, 206) |
| HSL | hsl(276, 57%, 55%) |
| HSV | hsv(276, 63%, 81%) |
| CMYK | cmyk(24.8%, 62.6%, 0%, 19.2%) |
| CIE-LAB | lab(47.92, 54.41, -53.91) |
| CIE-LCH | lch(47.92, 76.60, 315.26°) |
| OKLab | oklab(57.46% 0.1249 -0.1521) |
| OKLCH | oklch(57.46% 0.197 309.4) |
| XYZ | xyz(27.3098, 16.7330, 60.1717) |
| Luminance | 0.1673 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.25
Amethyst
#9B5FC0
ΔE00 5.12
Darkorchid
#9932CC
ΔE00 5.18
Purply
#983FB2
ΔE00 5.64
Purpley
#8756E4
ΔE00 5.78
Deep Lavender
#8D5EB7
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4DCE #80CE4D
analogous
#5A4DCE #9B4DCE #CE4DC0
triadic
#9B4DCE #CE9B4D #4DCE9B
tetradic
#9B4DCE #CE5A4D #80CE4D #4DC0CE
square
#9B4DCE #CE5A4D #80CE4D #4DC0CE
split-complementary
#9B4DCE #C0CE4D #4DCE5A
monochromatic
#5A237E #7C30AE #9B4DCE #B67DDB #D1ADE8
Accessibility & contrast
On white
4.83
#9B4DCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#9B4DCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B4DCE
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4DCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B4DCE | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#056ED2
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#946787
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9b4dce; /* rgb */ color: rgb(155, 77, 206); /* oklch */ color: oklch(57.5% 0.197 309.4);
Tailwind
colors: {
custom: {
50: '#bc83de',
500: '#9b4dce',
950: '#000000',
},
}SCSS
$custom: #9b4dce; $custom-light: #bc83de; $custom-dark: #000000;
JSON
{
"hex": "#9b4dce",
"rgb": {
"r": 155,
"g": 77,
"b": 206
},
"hsl": {
"h": 276.279,
"s": 56.828,
"l": 55.49
},
"oklch": {
"l": 0.57456,
"c": 0.1968,
"h": 309.4
},
"luminance": 0.16733
}Semantic roles & 50–950 ramp
primary
#9B4DCE
secondary
#B6D6A1
accent
#E04884
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83