#954EBA#954EBA
#954EBA is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.6% C 0.172 H 312.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #954EBA |
|---|---|
| RGB | rgb(149, 78, 186) |
| HSL | hsl(279, 44%, 52%) |
| HSV | hsv(279, 58%, 73%) |
| CMYK | cmyk(19.9%, 58.1%, 0%, 27.1%) |
| CIE-LAB | lab(46.16, 48.03, -45.21) |
| CIE-LCH | lch(46.16, 65.96, 316.73°) |
| OKLab | oklab(55.63% 0.1161 -0.1268) |
| OKLCH | oklch(55.63% 0.172 312.5) |
| XYZ | xyz(23.9802, 15.3841, 48.1510) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.56
Deep Lavender
#8D5EB7
ΔE00 4.49
Amethyst
#9B5FC0
ΔE00 4.86
Darkorchid
#9932CC
ΔE00 5.69
Medium Purple
#9E43A2
ΔE00 5.71
Royal Purple
#7851A9
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954EBA #73BA4E
analogous
#5F4EBA #954EBA #BA4EA9
triadic
#954EBA #BA954E #4EBA95
tetradic
#954EBA #BA5F4E #73BA4E #4EA9BA
square
#954EBA #BA5F4E #73BA4E #4EA9BA
split-complementary
#954EBA #A9BA4E #4EBA5F
monochromatic
#512866 #733992 #954EBA #AF7ACB #CAA6DC
Accessibility & contrast
On white
5.15
#954EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#954EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954EBA
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954EBA | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C6ABD
Deuteranopia (green-blind)
#486FB7
Tritanopia (blue-blind)
#91617D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #954eba; /* rgb */ color: rgb(149, 78, 186); /* oklch */ color: oklch(55.6% 0.172 312.5);
Tailwind
colors: {
custom: {
50: '#b783cf',
500: '#954eba',
950: '#000000',
},
}SCSS
$custom: #954eba; $custom-light: #b783cf; $custom-dark: #000000;
JSON
{
"hex": "#954eba",
"rgb": {
"r": 149,
"g": 78,
"b": 186
},
"hsl": {
"h": 279.444,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.55625,
"c": 0.17192,
"h": 312.5
},
"luminance": 0.15384
}Semantic roles & 50–950 ramp
primary
#954EBA
secondary
#AACA9A
accent
#D45480
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82