#954CBB#954CBB
#954CBB is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.4% C 0.176 H 312.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #954CBB |
|---|---|
| RGB | rgb(149, 76, 187) |
| HSL | hsl(279, 45%, 52%) |
| HSV | hsv(279, 59%, 73%) |
| CMYK | cmyk(20.3%, 59.4%, 0%, 26.7%) |
| CIE-LAB | lab(45.83, 49.27, -46.30) |
| CIE-LCH | lch(45.83, 67.61, 316.78°) |
| OKLab | oklab(55.41% 0.1187 -0.13) |
| OKLCH | oklch(55.41% 0.176 312.4) |
| XYZ | xyz(23.9469, 15.1469, 48.6662) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.23
Deep Lavender
#8D5EB7
ΔE00 4.94
Darkorchid
#9932CC
ΔE00 5.19
Amethyst
#9B5FC0
ΔE00 5.31
Medium Purple
#9E43A2
ΔE00 5.73
Royal Purple
#7851A9
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954CBB #72BB4C
analogous
#5E4CBB #954CBB #BB4CAA
triadic
#954CBB #BB954C #4CBB95
tetradic
#954CBB #BB5E4C #72BB4C #4CAABB
square
#954CBB #BB5E4C #72BB4C #4CAABB
split-complementary
#954CBB #AABB4C #4CBB5E
monochromatic
#502766 #733892 #954CBB #AF78CC #CAA5DD
Accessibility & contrast
On white
5.21
#954CBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#954CBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954CBB
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954CBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954CBB | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2769BF
Deuteranopia (green-blind)
#456EB8
Tritanopia (blue-blind)
#91607C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #954cbb; /* rgb */ color: rgb(149, 76, 187); /* oklch */ color: oklch(55.4% 0.176 312.4);
Tailwind
colors: {
custom: {
50: '#b782d0',
500: '#954cbb',
950: '#000000',
},
}SCSS
$custom: #954cbb; $custom-light: #b782d0; $custom-dark: #000000;
JSON
{
"hex": "#954cbb",
"rgb": {
"r": 149,
"g": 76,
"b": 187
},
"hsl": {
"h": 279.459,
"s": 44.939,
"l": 51.569
},
"oklch": {
"l": 0.55409,
"c": 0.17603,
"h": 312.4
},
"luminance": 0.15146
}Semantic roles & 50–950 ramp
primary
#954CBB
secondary
#AACA99
accent
#D5537F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82