#9945BF#9945BF
#9945BF is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.192 H 313.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9945BF |
|---|---|
| RGB | rgb(153, 69, 191) |
| HSL | hsl(281, 49%, 51%) |
| HSV | hsv(281, 64%, 75%) |
| CMYK | cmyk(19.9%, 63.9%, 0%, 25.1%) |
| CIE-LAB | lab(45.35, 54.51, -49.39) |
| CIE-LCH | lch(45.35, 73.55, 317.82°) |
| OKLab | oklab(55.24% 0.1323 -0.1388) |
| OKLCH | oklch(55.24% 0.192 313.6) |
| XYZ | xyz(24.6674, 14.7909, 50.8356) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.55
Darkorchid
#9932CC
ΔE00 3.76
Medium Purple
#9E43A2
ΔE00 5.75
Barney
#AC1DB8
ΔE00 5.80
Deep Lavender
#8D5EB7
ΔE00 6.48
Amethyst
#9B5FC0
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9945BF #6BBF45
analogous
#5C45BF #9945BF #BF45A8
triadic
#9945BF #BF9945 #45BF99
tetradic
#9945BF #BF5C45 #6BBF45 #45A8BF
square
#9945BF #BF5C45 #6BBF45 #45A8BF
split-complementary
#9945BF #A8BF45 #45BF5C
monochromatic
#512366 #763394 #9945BF #B273CF #CBA0DE
Accessibility & contrast
On white
5.31
#9945BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#9945BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9945BF
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9945BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9945BF | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E67C3
Deuteranopia (green-blind)
#3F6DBC
Tritanopia (blue-blind)
#955C7C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9945bf; /* rgb */ color: rgb(153, 69, 191); /* oklch */ color: oklch(55.2% 0.192 313.6);
Tailwind
colors: {
custom: {
50: '#ba7ed3',
500: '#9945bf',
950: '#000000',
},
}SCSS
$custom: #9945bf; $custom-light: #ba7ed3; $custom-dark: #000000;
JSON
{
"hex": "#9945bf",
"rgb": {
"r": 153,
"g": 69,
"b": 191
},
"hsl": {
"h": 281.311,
"s": 48.8,
"l": 50.98
},
"oklch": {
"l": 0.55243,
"c": 0.19182,
"h": 313.6
},
"luminance": 0.1479
}Semantic roles & 50–950 ramp
primary
#9945BF
secondary
#A6CB95
accent
#D84F7A
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83