#954CCE#954CCE
#954CCE is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.6% C 0.196 H 307.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #954CCE |
|---|---|
| RGB | rgb(149, 76, 206) |
| HSL | hsl(274, 57%, 55%) |
| HSV | hsv(274, 63%, 81%) |
| CMYK | cmyk(27.7%, 63.1%, 0%, 19.2%) |
| CIE-LAB | lab(46.99, 53.53, -55.45) |
| CIE-LCH | lch(46.99, 77.07, 314.00°) |
| OKLab | oklab(56.62% 0.1183 -0.1568) |
| OKLCH | oklch(56.62% 0.196 307) |
| XYZ | xyz(26.1171, 16.0150, 60.0959) |
| Luminance | 0.1601 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.72
Lightish Purple
#A552E6
ΔE00 4.91
Purpley
#8756E4
ΔE00 5.15
Purply
#983FB2
ΔE00 5.63
Amethyst
#9B5FC0
ΔE00 5.85
Deep Lavender
#8D5EB7
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954CCE #85CE4C
analogous
#544CCE #954CCE #CE4CC6
triadic
#954CCE #CE954C #4CCE95
tetradic
#954CCE #CE544C #85CE4C #4CC6CE
square
#954CCE #CE544C #85CE4C #4CC6CE
split-complementary
#954CCE #C6CE4C #4CCE54
monochromatic
#55227D #762FAD #954CCE #B17CDB #CEACE8
Accessibility & contrast
On white
5.00
#954CCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#954CCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954CCE
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954CCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954CCE | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#3270CB
Tritanopia (blue-blind)
#8C6786
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #954cce; /* rgb */ color: rgb(149, 76, 206); /* oklch */ color: oklch(56.6% 0.196 307.0);
Tailwind
colors: {
custom: {
50: '#b882de',
500: '#954cce',
950: '#000000',
},
}SCSS
$custom: #954cce; $custom-light: #b882de; $custom-dark: #000000;
JSON
{
"hex": "#954cce",
"rgb": {
"r": 149,
"g": 76,
"b": 206
},
"hsl": {
"h": 273.692,
"s": 57.018,
"l": 55.294
},
"oklch": {
"l": 0.56623,
"c": 0.19643,
"h": 307
},
"luminance": 0.16015
}Semantic roles & 50–950 ramp
primary
#954CCE
secondary
#B8D6A0
accent
#E0488B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83