#954FBA#954FBA
#954FBA is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.8% C 0.170 H 312.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #954FBA |
|---|---|
| RGB | rgb(149, 79, 186) |
| HSL | hsl(279, 44%, 52%) |
| HSV | hsv(279, 58%, 73%) |
| CMYK | cmyk(19.9%, 57.5%, 0%, 27.1%) |
| CIE-LAB | lab(46.35, 47.51, -44.90) |
| CIE-LCH | lch(46.35, 65.38, 316.62°) |
| OKLab | oklab(55.77% 0.1148 -0.1259) |
| OKLCH | oklch(55.77% 0.17 312.4) |
| XYZ | xyz(24.0518, 15.5273, 48.1749) |
| Luminance | 0.1553 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.77
Deep Lavender
#8D5EB7
ΔE00 4.27
Amethyst
#9B5FC0
ΔE00 4.63
Medium Purple
#9E43A2
ΔE00 5.79
Darkorchid
#9932CC
ΔE00 5.91
Royal Purple
#7851A9
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954FBA #74BA4F
analogous
#604FBA #954FBA #BA4FAA
triadic
#954FBA #BA954F #4FBA95
tetradic
#954FBA #BA604F #74BA4F #4FAABA
square
#954FBA #BA604F #74BA4F #4FAABA
split-complementary
#954FBA #AABA4F #4FBA60
monochromatic
#512866 #743992 #954FBA #AF7BCB #CAA7DC
Accessibility & contrast
On white
5.12
#954FBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#954FBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954FBA
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954FBA | 1.00 | 5.12 | 4.11 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E6ABD
Deuteranopia (green-blind)
#496FB7
Tritanopia (blue-blind)
#91627D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #954fba; /* rgb */ color: rgb(149, 79, 186); /* oklch */ color: oklch(55.8% 0.170 312.4);
Tailwind
colors: {
custom: {
50: '#b783cf',
500: '#954fba',
950: '#000000',
},
}SCSS
$custom: #954fba; $custom-light: #b783cf; $custom-dark: #000000;
JSON
{
"hex": "#954fba",
"rgb": {
"r": 149,
"g": 79,
"b": 186
},
"hsl": {
"h": 279.252,
"s": 43.673,
"l": 51.961
},
"oklch": {
"l": 0.55766,
"c": 0.17039,
"h": 312.4
},
"luminance": 0.15527
}Semantic roles & 50–950 ramp
primary
#954FBA
secondary
#ABCA9B
accent
#D35480
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82