#9B4BCA#9B4BCA
#9B4BCA is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.9% C 0.195 H 310.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4BCA |
|---|---|
| RGB | rgb(155, 75, 202) |
| HSL | hsl(278, 55%, 54%) |
| HSV | hsv(278, 63%, 79%) |
| CMYK | cmyk(23.3%, 62.9%, 0%, 20.8%) |
| CIE-LAB | lab(47.32, 54.49, -52.58) |
| CIE-LCH | lch(47.32, 75.72, 316.03°) |
| OKLab | oklab(56.94% 0.1274 -0.1482) |
| OKLCH | oklch(56.94% 0.195 310.7) |
| XYZ | xyz(26.6923, 16.2656, 57.5991) |
| Luminance | 0.1626 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.70
Purply
#983FB2
ΔE00 4.83
Lightish Purple
#A552E6
ΔE00 5.00
Amethyst
#9B5FC0
ΔE00 5.29
Deep Lavender
#8D5EB7
ΔE00 5.85
Purpley
#8756E4
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4BCA #7ACA4B
analogous
#5C4BCA #9B4BCA #CA4BBA
triadic
#9B4BCA #CA9B4B #4BCA9B
tetradic
#9B4BCA #CA5C4B #7ACA4B #4BBACA
square
#9B4BCA #CA5C4B #7ACA4B #4BBACA
split-complementary
#9B4BCA #BACA4B #4BCA5C
monochromatic
#582377 #7B31A7 #9B4BCA #B57AD8 #D0AAE6
Accessibility & contrast
On white
4.94
#9B4BCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#9B4BCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B4BCA
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B4BCA | 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)
#0A6DCE
Deuteranopia (green-blind)
#3D72C7
Tritanopia (blue-blind)
#956484
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9b4bca; /* rgb */ color: rgb(155, 75, 202); /* oklch */ color: oklch(56.9% 0.195 310.7);
Tailwind
colors: {
custom: {
50: '#bc82db',
500: '#9b4bca',
950: '#000000',
},
}SCSS
$custom: #9b4bca; $custom-light: #bc82db; $custom-dark: #000000;
JSON
{
"hex": "#9b4bca",
"rgb": {
"r": 155,
"g": 75,
"b": 202
},
"hsl": {
"h": 277.795,
"s": 54.506,
"l": 54.314
},
"oklch": {
"l": 0.56943,
"c": 0.19541,
"h": 310.7
},
"luminance": 0.16265
}Semantic roles & 50–950 ramp
primary
#9B4BCA
secondary
#B1D39D
accent
#DE4A81
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83