#954BB7#954BB7
#954BB7 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.0% C 0.173 H 313.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #954BB7 |
|---|---|
| RGB | rgb(149, 75, 183) |
| HSL | hsl(281, 43%, 51%) |
| HSV | hsv(281, 59%, 72%) |
| CMYK | cmyk(18.6%, 59%, 0%, 28.2%) |
| CIE-LAB | lab(45.42, 48.90, -44.64) |
| CIE-LCH | lch(45.42, 66.21, 317.61°) |
| OKLab | oklab(55.03% 0.1199 -0.1251) |
| OKLCH | oklch(55.03% 0.173 313.8) |
| XYZ | xyz(23.4563, 14.8413, 46.4196) |
| Luminance | 0.1484 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.71
Medium Purple
#9E43A2
ΔE00 5.03
Deep Lavender
#8D5EB7
ΔE00 5.18
Darkorchid
#9932CC
ΔE00 5.37
Amethyst
#9B5FC0
ΔE00 5.63
Royal Purple
#7851A9
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954BB7 #6DB74B
analogous
#5F4BB7 #954BB7 #B74BA3
triadic
#954BB7 #B7954B #4BB795
tetradic
#954BB7 #B75F4B #6DB74B #4BA3B7
square
#954BB7 #B75F4B #6DB74B #4BA3B7
split-complementary
#954BB7 #A3B74B #4BB75F
monochromatic
#4F2761 #72388D #954BB7 #AF77C8 #C8A2DA
Accessibility & contrast
On white
5.29
#954BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#954BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954BB7
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954BB7 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A67BA
Deuteranopia (green-blind)
#476DB4
Tritanopia (blue-blind)
#925E7A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #954bb7; /* rgb */ color: rgb(149, 75, 183); /* oklch */ color: oklch(55.0% 0.173 313.8);
Tailwind
colors: {
custom: {
50: '#b781cd',
500: '#954bb7',
950: '#000000',
},
}SCSS
$custom: #954bb7; $custom-light: #b781cd; $custom-dark: #000000;
JSON
{
"hex": "#954bb7",
"rgb": {
"r": 149,
"g": 75,
"b": 183
},
"hsl": {
"h": 281.111,
"s": 42.857,
"l": 50.588
},
"oklch": {
"l": 0.55029,
"c": 0.17329,
"h": 313.8
},
"luminance": 0.14841
}Semantic roles & 50–950 ramp
primary
#954BB7
secondary
#A6C797
accent
#D3557D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B13
muted
#817C82