#9A4BBD#9A4BBD
#9A4BBD is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.0% C 0.182 H 314.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9A4BBD |
|---|---|
| RGB | rgb(154, 75, 189) |
| HSL | hsl(282, 46%, 52%) |
| HSV | hsv(282, 60%, 74%) |
| CMYK | cmyk(18.5%, 60.3%, 0%, 25.9%) |
| CIE-LAB | lab(46.41, 51.44, -46.51) |
| CIE-LCH | lch(46.41, 69.35, 317.89°) |
| OKLab | oklab(56.01% 0.1263 -0.1304) |
| OKLCH | oklch(56.01% 0.182 314.1) |
| XYZ | xyz(25.0263, 15.5770, 49.8226) |
| Luminance | 0.1558 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.23
Darkorchid
#9932CC
ΔE00 5.15
Amethyst
#9B5FC0
ΔE00 5.15
Deep Lavender
#8D5EB7
ΔE00 5.35
Medium Purple
#9E43A2
ΔE00 5.51
Ugly Purple
#A442A0
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A4BBD #6EBD4B
analogous
#614BBD #9A4BBD #BD4BA7
triadic
#9A4BBD #BD9A4B #4BBD9A
tetradic
#9A4BBD #BD614B #6EBD4B #4BA7BD
square
#9A4BBD #BD614B #6EBD4B #4BA7BD
split-complementary
#9A4BBD #A7BD4B #4BBD61
monochromatic
#532668 #783694 #9A4BBD #B378CD #CCA5DE
Accessibility & contrast
On white
5.10
#9A4BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#9A4BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A4BBD
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A4BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A4BBD | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#266AC1
Deuteranopia (green-blind)
#4770BA
Tritanopia (blue-blind)
#975F7D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9a4bbd; /* rgb */ color: rgb(154, 75, 189); /* oklch */ color: oklch(56.0% 0.182 314.1);
Tailwind
colors: {
custom: {
50: '#bb81d1',
500: '#9a4bbd',
950: '#000000',
},
}SCSS
$custom: #9a4bbd; $custom-light: #bb81d1; $custom-dark: #000000;
JSON
{
"hex": "#9a4bbd",
"rgb": {
"r": 154,
"g": 75,
"b": 189
},
"hsl": {
"h": 281.579,
"s": 46.341,
"l": 51.765
},
"oklch": {
"l": 0.56008,
"c": 0.18155,
"h": 314.1
},
"luminance": 0.15576
}Semantic roles & 50–950 ramp
primary
#9A4BBD
secondary
#A8CB99
accent
#D6527A
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82