#954EBB#954EBB
#954EBB is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.7% C 0.173 H 312.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #954EBB |
|---|---|
| RGB | rgb(149, 78, 187) |
| HSL | hsl(279, 44%, 52%) |
| HSV | hsv(279, 58%, 73%) |
| CMYK | cmyk(20.3%, 58.3%, 0%, 26.7%) |
| CIE-LAB | lab(46.21, 48.25, -45.70) |
| CIE-LCH | lch(46.21, 66.46, 316.55°) |
| OKLab | oklab(55.69% 0.1161 -0.1282) |
| OKLCH | oklch(55.69% 0.173 312.2) |
| XYZ | xyz(24.0869, 15.4268, 48.7129) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.64
Deep Lavender
#8D5EB7
ΔE00 4.50
Amethyst
#9B5FC0
ΔE00 4.84
Darkorchid
#9932CC
ΔE00 5.61
Medium Purple
#9E43A2
ΔE00 5.86
Royal Purple
#7851A9
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954EBB #74BB4E
analogous
#5F4EBB #954EBB #BB4EAA
triadic
#954EBB #BB954E #4EBB95
tetradic
#954EBB #BB5F4E #74BB4E #4EAABB
square
#954EBB #BB5F4E #74BB4E #4EAABB
split-complementary
#954EBB #AABB4E #4EBB5F
monochromatic
#512867 #743993 #954EBB #AF7ACC #CAA6DD
Accessibility & contrast
On white
5.14
#954EBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#954EBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954EBB
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954EBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954EBB | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B6ABE
Deuteranopia (green-blind)
#476FB8
Tritanopia (blue-blind)
#91617D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #954ebb; /* rgb */ color: rgb(149, 78, 187); /* oklch */ color: oklch(55.7% 0.173 312.2);
Tailwind
colors: {
custom: {
50: '#b783d0',
500: '#954ebb',
950: '#000000',
},
}SCSS
$custom: #954ebb; $custom-light: #b783d0; $custom-dark: #000000;
JSON
{
"hex": "#954ebb",
"rgb": {
"r": 149,
"g": 78,
"b": 187
},
"hsl": {
"h": 279.083,
"s": 44.49,
"l": 51.961
},
"oklch": {
"l": 0.55686,
"c": 0.173,
"h": 312.2
},
"luminance": 0.15426
}Semantic roles & 50–950 ramp
primary
#954EBB
secondary
#ABCA9B
accent
#D45480
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82