#954FCB#954FCB
#954FCB is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.8% C 0.189 H 307.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #954FCB |
|---|---|
| RGB | rgb(149, 79, 203) |
| HSL | hsl(274, 54%, 55%) |
| HSV | hsv(274, 61%, 80%) |
| CMYK | cmyk(26.6%, 61.1%, 0%, 20.4%) |
| CIE-LAB | lab(47.36, 51.35, -53.14) |
| CIE-LCH | lch(47.36, 73.89, 314.02°) |
| OKLab | oklab(56.83% 0.1149 -0.15) |
| OKLCH | oklch(56.83% 0.189 307.4) |
| XYZ | xyz(25.9677, 16.2936, 58.2653) |
| Luminance | 0.1629 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.92
Amethyst
#9B5FC0
ΔE00 5.07
Deep Lavender
#8D5EB7
ΔE00 5.18
Purpley
#8756E4
ΔE00 5.31
Darkorchid
#9932CC
ΔE00 5.33
Purply
#983FB2
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954FCB #85CB4F
analogous
#574FCB #954FCB #CB4FC3
triadic
#954FCB #CB954F #4FCB95
tetradic
#954FCB #CB574F #85CB4F #4FC3CB
square
#954FCB #CB574F #85CB4F #4FC3CB
split-complementary
#954FCB #C3CB4F #4FCB57
monochromatic
#55247B #7632AA #954FCB #B17ED9 #CEADE7
Accessibility & contrast
On white
4.93
#954FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#954FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954FCB
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954FCB | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#116ECF
Deuteranopia (green-blind)
#3971C8
Tritanopia (blue-blind)
#8D6886
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #954fcb; /* rgb */ color: rgb(149, 79, 203); /* oklch */ color: oklch(56.8% 0.189 307.4);
Tailwind
colors: {
custom: {
50: '#b884db',
500: '#954fcb',
950: '#000000',
},
}SCSS
$custom: #954fcb; $custom-light: #b884db; $custom-dark: #000000;
JSON
{
"hex": "#954fcb",
"rgb": {
"r": 149,
"g": 79,
"b": 203
},
"hsl": {
"h": 273.871,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.56826,
"c": 0.18895,
"h": 307.4
},
"luminance": 0.16293
}Semantic roles & 50–950 ramp
primary
#954FCB
secondary
#B8D5A1
accent
#DE4A8A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83