#954BCA#954BCA
#954BCA is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.2% C 0.194 H 308.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #954BCA |
|---|---|
| RGB | rgb(149, 75, 202) |
| HSL | hsl(275, 55%, 54%) |
| HSV | hsv(275, 63%, 79%) |
| CMYK | cmyk(26.2%, 62.9%, 0%, 20.8%) |
| CIE-LAB | lab(46.56, 53.11, -53.84) |
| CIE-LCH | lch(46.56, 75.63, 314.61°) |
| OKLab | oklab(56.23% 0.1197 -0.1521) |
| OKLCH | oklch(56.23% 0.194 308.2) |
| XYZ | xyz(25.5690, 15.6864, 57.5465) |
| Luminance | 0.1569 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.41
Purply
#983FB2
ΔE00 4.95
Lightish Purple
#A552E6
ΔE00 5.47
Purpley
#8756E4
ΔE00 5.78
Deep Lavender
#8D5EB7
ΔE00 5.80
Amethyst
#9B5FC0
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954BCA #80CA4B
analogous
#564BCA #954BCA #CA4BBF
triadic
#954BCA #CA954B #4BCA95
tetradic
#954BCA #CA564B #80CA4B #4BBFCA
square
#954BCA #CA564B #80CA4B #4BBFCA
split-complementary
#954BCA #BFCA4B #4BCA56
monochromatic
#542377 #7631A7 #954BCA #B17AD8 #CDAAE6
Accessibility & contrast
On white
5.08
#954BCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#954BCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954BCA
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954BCA | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#366FC7
Tritanopia (blue-blind)
#8D6584
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #954bca; /* rgb */ color: rgb(149, 75, 202); /* oklch */ color: oklch(56.2% 0.194 308.2);
Tailwind
colors: {
custom: {
50: '#b881db',
500: '#954bca',
950: '#000000',
},
}SCSS
$custom: #954bca; $custom-light: #b881db; $custom-dark: #000000;
JSON
{
"hex": "#954bca",
"rgb": {
"r": 149,
"g": 75,
"b": 202
},
"hsl": {
"h": 274.961,
"s": 54.506,
"l": 54.314
},
"oklch": {
"l": 0.56228,
"c": 0.19353,
"h": 308.2
},
"luminance": 0.15686
}Semantic roles & 50–950 ramp
primary
#954BCA
secondary
#B4D39D
accent
#DE4A88
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83