#954EBF#954EBF
#954EBF is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.9% C 0.177 H 310.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #954EBF |
|---|---|
| RGB | rgb(149, 78, 191) |
| HSL | hsl(278, 47%, 53%) |
| HSV | hsv(278, 59%, 75%) |
| CMYK | cmyk(22%, 59.2%, 0%, 25.1%) |
| CIE-LAB | lab(46.45, 49.14, -47.66) |
| CIE-LCH | lch(46.45, 68.45, 315.88°) |
| OKLab | oklab(55.93% 0.1162 -0.134) |
| OKLCH | oklch(55.93% 0.177 310.9) |
| XYZ | xyz(24.5210, 15.6005, 50.9996) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.01
Deep Lavender
#8D5EB7
ΔE00 4.59
Amethyst
#9B5FC0
ΔE00 4.83
Darkorchid
#9932CC
ΔE00 5.35
Royal Purple
#7851A9
ΔE00 6.31
Medium Purple
#9E43A2
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954EBF #78BF4E
analogous
#5C4EBF #954EBF #BF4EB1
triadic
#954EBF #BF954E #4EBF95
tetradic
#954EBF #BF5C4E #78BF4E #4EB1BF
square
#954EBF #BF5C4E #78BF4E #4EB1BF
split-complementary
#954EBF #B1BF4E #4EBF5C
monochromatic
#52276C #743799 #954EBF #B07BCF #CBA8E0
Accessibility & contrast
On white
5.10
#954EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#954EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954EBF
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954EBF | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#266BC3
Deuteranopia (green-blind)
#446FBC
Tritanopia (blue-blind)
#90637F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #954ebf; /* rgb */ color: rgb(149, 78, 191); /* oklch */ color: oklch(55.9% 0.177 310.9);
Tailwind
colors: {
custom: {
50: '#b783d3',
500: '#954ebf',
950: '#000000',
},
}SCSS
$custom: #954ebf; $custom-light: #b783d3; $custom-dark: #000000;
JSON
{
"hex": "#954ebf",
"rgb": {
"r": 149,
"g": 78,
"b": 191
},
"hsl": {
"h": 277.699,
"s": 46.888,
"l": 52.745
},
"oklch": {
"l": 0.5593,
"c": 0.17733,
"h": 310.9
},
"luminance": 0.156
}Semantic roles & 50–950 ramp
primary
#954EBF
secondary
#AECD9C
accent
#D75183
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83