#9A4CCB#9A4CCB
#9A4CCB is a mid, vivid violet. Relative luminance 0.164; OKLCH L 57.0% C 0.195 H 309.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9A4CCB |
|---|---|
| RGB | rgb(154, 76, 203) |
| HSL | hsl(277, 55%, 55%) |
| HSV | hsv(277, 63%, 80%) |
| CMYK | cmyk(24.1%, 62.6%, 0%, 20.4%) |
| CIE-LAB | lab(47.43, 54.00, -52.98) |
| CIE-LCH | lch(47.43, 75.65, 315.55°) |
| OKLab | oklab(57.02% 0.1249 -0.1494) |
| OKLCH | oklch(57.02% 0.195 309.9) |
| XYZ | xyz(26.6883, 16.3512, 58.2385) |
| Luminance | 0.1635 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.82
Darkorchid
#9932CC
ΔE00 4.85
Purply
#983FB2
ΔE00 5.10
Amethyst
#9B5FC0
ΔE00 5.21
Deep Lavender
#8D5EB7
ΔE00 5.73
Purpley
#8756E4
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A4CCB #7DCB4C
analogous
#5A4CCB #9A4CCB #CB4CBD
triadic
#9A4CCB #CB9A4C #4CCB9A
tetradic
#9A4CCB #CB5A4C #7DCB4C #4CBDCB
square
#9A4CCB #CB5A4C #7DCB4C #4CBDCB
split-complementary
#9A4CCB #BDCB4C #4CCB5A
monochromatic
#582379 #7B31A9 #9A4CCB #B57BD9 #D0ABE7
Accessibility & contrast
On white
4.92
#9A4CCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#9A4CCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A4CCB
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A4CCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A4CCB | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A6DCF
Deuteranopia (green-blind)
#3C72C8
Tritanopia (blue-blind)
#936585
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9a4ccb; /* rgb */ color: rgb(154, 76, 203); /* oklch */ color: oklch(57.0% 0.195 309.9);
Tailwind
colors: {
custom: {
50: '#bb82db',
500: '#9a4ccb',
950: '#000000',
},
}SCSS
$custom: #9a4ccb; $custom-light: #bb82db; $custom-dark: #000000;
JSON
{
"hex": "#9a4ccb",
"rgb": {
"r": 154,
"g": 76,
"b": 203
},
"hsl": {
"h": 276.85,
"s": 54.978,
"l": 54.706
},
"oklch": {
"l": 0.57015,
"c": 0.19473,
"h": 309.9
},
"luminance": 0.16351
}Semantic roles & 50–950 ramp
primary
#9A4CCB
secondary
#B3D49F
accent
#DE4983
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83