#954BCE#954BCE
#954BCE is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.5% C 0.198 H 307.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #954BCE |
|---|---|
| RGB | rgb(149, 75, 206) |
| HSL | hsl(274, 57%, 55%) |
| HSV | hsv(274, 64%, 81%) |
| CMYK | cmyk(27.7%, 63.6%, 0%, 19.2%) |
| CIE-LAB | lab(46.81, 54.03, -55.73) |
| CIE-LCH | lch(46.81, 77.62, 314.11°) |
| OKLab | oklab(56.49% 0.1195 -0.1576) |
| OKLCH | oklch(56.49% 0.198 307.2) |
| XYZ | xyz(26.0488, 15.8783, 60.0731) |
| Luminance | 0.1588 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.50
Lightish Purple
#A552E6
ΔE00 5.04
Purpley
#8756E4
ΔE00 5.25
Purply
#983FB2
ΔE00 5.51
Amethyst
#9B5FC0
ΔE00 6.04
Deep Lavender
#8D5EB7
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954BCE #84CE4B
analogous
#534BCE #954BCE #CE4BC5
triadic
#954BCE #CE954B #4BCE95
tetradic
#954BCE #CE534B #84CE4B #4BC5CE
square
#954BCE #CE534B #84CE4B #4BC5CE
split-complementary
#954BCE #C5CE4B #4BCE53
monochromatic
#55227D #762FAD #954BCE #B17BDB #CEABE8
Accessibility & contrast
On white
5.03
#954BCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#954BCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954BCE
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954BCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954BCE | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#3170CB
Tritanopia (blue-blind)
#8C6686
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #954bce; /* rgb */ color: rgb(149, 75, 206); /* oklch */ color: oklch(56.5% 0.198 307.2);
Tailwind
colors: {
custom: {
50: '#b882de',
500: '#954bce',
950: '#000000',
},
}SCSS
$custom: #954bce; $custom-light: #b882de; $custom-dark: #000000;
JSON
{
"hex": "#954bce",
"rgb": {
"r": 149,
"g": 75,
"b": 206
},
"hsl": {
"h": 273.893,
"s": 57.205,
"l": 55.098
},
"oklch": {
"l": 0.56493,
"c": 0.1978,
"h": 307.2
},
"luminance": 0.15878
}Semantic roles & 50–950 ramp
primary
#954BCE
secondary
#B7D69F
accent
#E0478A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83