#9B4CC7#9B4CC7
#9B4CC7 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.9% C 0.191 H 311.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4CC7 |
|---|---|
| RGB | rgb(155, 76, 199) |
| HSL | hsl(279, 52%, 54%) |
| HSV | hsv(279, 62%, 78%) |
| CMYK | cmyk(22.1%, 61.8%, 0%, 22%) |
| CIE-LAB | lab(47.32, 53.35, -50.86) |
| CIE-LCH | lch(47.32, 73.71, 316.37°) |
| OKLab | oklab(56.88% 0.1263 -0.1431) |
| OKLCH | oklch(56.88% 0.191 311.4) |
| XYZ | xyz(26.4089, 16.2616, 55.7694) |
| Luminance | 0.1626 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.58
Darkorchid
#9932CC
ΔE00 4.95
Amethyst
#9B5FC0
ΔE00 4.96
Lightish Purple
#A552E6
ΔE00 5.30
Deep Lavender
#8D5EB7
ΔE00 5.51
Purpley
#8756E4
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4CC7 #78C74C
analogous
#5E4CC7 #9B4CC7 #C74CB5
triadic
#9B4CC7 #C79B4C #4CC79B
tetradic
#9B4CC7 #C75E4C #78C74C #4CB5C7
square
#9B4CC7 #C75E4C #78C74C #4CB5C7
split-complementary
#9B4CC7 #B5C74C #4CC75E
monochromatic
#582474 #7B33A3 #9B4CC7 #B57BD6 #CFA9E4
Accessibility & contrast
On white
4.94
#9B4CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#9B4CC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B4CC7
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4CC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B4CC7 | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#186CCB
Deuteranopia (green-blind)
#4172C4
Tritanopia (blue-blind)
#966382
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9b4cc7; /* rgb */ color: rgb(155, 76, 199); /* oklch */ color: oklch(56.9% 0.191 311.4);
Tailwind
colors: {
custom: {
50: '#bc82d9',
500: '#9b4cc7',
950: '#000000',
},
}SCSS
$custom: #9b4cc7; $custom-light: #bc82d9; $custom-dark: #000000;
JSON
{
"hex": "#9b4cc7",
"rgb": {
"r": 155,
"g": 76,
"b": 199
},
"hsl": {
"h": 278.537,
"s": 52.34,
"l": 53.922
},
"oklch": {
"l": 0.5688,
"c": 0.19087,
"h": 311.4
},
"luminance": 0.16261
}Semantic roles & 50–950 ramp
primary
#9B4CC7
secondary
#B0D29D
accent
#DC4C7F
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B15
muted
#817C83