#954CCB#954CCB
#954CCB is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.4% C 0.193 H 307.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #954CCB |
|---|---|
| RGB | rgb(149, 76, 203) |
| HSL | hsl(274, 55%, 55%) |
| HSV | hsv(274, 63%, 80%) |
| CMYK | cmyk(26.6%, 62.6%, 0%, 20.4%) |
| CIE-LAB | lab(46.80, 52.85, -54.02) |
| CIE-LCH | lch(46.80, 75.58, 314.37°) |
| OKLab | oklab(56.43% 0.1185 -0.1526) |
| OKLCH | oklch(56.43% 0.193 307.8) |
| XYZ | xyz(25.7561, 15.8706, 58.1948) |
| Luminance | 0.1587 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.65
Purply
#983FB2
ΔE00 5.21
Lightish Purple
#A552E6
ΔE00 5.24
Purpley
#8756E4
ΔE00 5.55
Amethyst
#9B5FC0
ΔE00 5.67
Deep Lavender
#8D5EB7
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954CCB #82CB4C
analogous
#564CCB #954CCB #CB4CC2
triadic
#954CCB #CB954C #4CCB95
tetradic
#954CCB #CB564C #82CB4C #4CC2CB
square
#954CCB #CB564C #82CB4C #4CC2CB
split-complementary
#954CCB #C2CB4C #4CCB56
monochromatic
#552379 #7631A9 #954CCB #B17BD9 #CDABE7
Accessibility & contrast
On white
5.03
#954CCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#954CCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954CCB
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954CCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954CCB | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#3670C8
Tritanopia (blue-blind)
#8D6685
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #954ccb; /* rgb */ color: rgb(149, 76, 203); /* oklch */ color: oklch(56.4% 0.193 307.8);
Tailwind
colors: {
custom: {
50: '#b882db',
500: '#954ccb',
950: '#000000',
},
}SCSS
$custom: #954ccb; $custom-light: #b882db; $custom-dark: #000000;
JSON
{
"hex": "#954ccb",
"rgb": {
"r": 149,
"g": 76,
"b": 203
},
"hsl": {
"h": 274.488,
"s": 54.978,
"l": 54.706
},
"oklch": {
"l": 0.56425,
"c": 0.1932,
"h": 307.8
},
"luminance": 0.1587
}Semantic roles & 50–950 ramp
primary
#954CCB
secondary
#B5D49F
accent
#DE4989
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83