#9B4DCF#9B4DCF
#9B4DCF is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.5% C 0.198 H 309.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4DCF |
|---|---|
| RGB | rgb(155, 77, 207) |
| HSL | hsl(276, 58%, 56%) |
| HSV | hsv(276, 63%, 81%) |
| CMYK | cmyk(25.1%, 62.8%, 0%, 18.8%) |
| CIE-LAB | lab(47.98, 54.63, -54.39) |
| CIE-LCH | lch(47.98, 77.09, 315.13°) |
| OKLab | oklab(57.52% 0.1249 -0.1535) |
| OKLCH | oklch(57.52% 0.198 309.1) |
| XYZ | xyz(27.4317, 16.7818, 60.8135) |
| Luminance | 0.1678 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.13
Amethyst
#9B5FC0
ΔE00 5.19
Darkorchid
#9932CC
ΔE00 5.21
Purpley
#8756E4
ΔE00 5.65
Purply
#983FB2
ΔE00 5.78
Deep Lavender
#8D5EB7
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4DCF #81CF4D
analogous
#5A4DCF #9B4DCF #CF4DC2
triadic
#9B4DCF #CF9B4D #4DCF9B
tetradic
#9B4DCF #CF5A4D #81CF4D #4DC2CF
square
#9B4DCF #CF5A4D #81CF4D #4DC2CF
split-complementary
#9B4DCF #C2CF4D #4DCF5A
monochromatic
#5A227F #7C2FAF #9B4DCF #B67DDC #D1ADE9
Accessibility & contrast
On white
4.82
#9B4DCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#9B4DCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B4DCF
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4DCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B4DCF | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#016FD3
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#946787
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9b4dcf; /* rgb */ color: rgb(155, 77, 207); /* oklch */ color: oklch(57.5% 0.198 309.1);
Tailwind
colors: {
custom: {
50: '#bc83de',
500: '#9b4dcf',
950: '#000000',
},
}SCSS
$custom: #9b4dcf; $custom-light: #bc83de; $custom-dark: #000000;
JSON
{
"hex": "#9b4dcf",
"rgb": {
"r": 155,
"g": 77,
"b": 207
},
"hsl": {
"h": 276,
"s": 57.522,
"l": 55.686
},
"oklch": {
"l": 0.57521,
"c": 0.19786,
"h": 309.1
},
"luminance": 0.16781
}Semantic roles & 50–950 ramp
primary
#9B4DCF
secondary
#B6D7A1
accent
#E14785
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83