#954FCC#954FCC
#954FCC is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.9% C 0.190 H 307.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #954FCC |
|---|---|
| RGB | rgb(149, 79, 204) |
| HSL | hsl(274, 55%, 55%) |
| HSV | hsv(274, 61%, 80%) |
| CMYK | cmyk(27%, 61.3%, 0%, 20%) |
| CIE-LAB | lab(47.42, 51.58, -53.61) |
| CIE-LCH | lch(47.42, 74.39, 313.89°) |
| OKLab | oklab(56.89% 0.1149 -0.1514) |
| OKLCH | oklch(56.89% 0.19 307.2) |
| XYZ | xyz(26.0872, 16.3415, 58.8950) |
| Luminance | 0.1634 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.81
Amethyst
#9B5FC0
ΔE00 5.14
Purpley
#8756E4
ΔE00 5.17
Deep Lavender
#8D5EB7
ΔE00 5.27
Darkorchid
#9932CC
ΔE00 5.35
Purply
#983FB2
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954FCC #86CC4F
analogous
#564FCC #954FCC #CC4FC4
triadic
#954FCC #CC954F #4FCC95
tetradic
#954FCC #CC564F #86CC4F #4FC4CC
square
#954FCC #CC564F #86CC4F #4FC4CC
split-complementary
#954FCC #C4CC4F #4FCC56
monochromatic
#56247D #7632AC #954FCC #B27EDA #CEAEE7
Accessibility & contrast
On white
4.92
#954FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#954FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954FCC
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954FCC | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E6ED0
Deuteranopia (green-blind)
#3871C9
Tritanopia (blue-blind)
#8C6886
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #954fcc; /* rgb */ color: rgb(149, 79, 204); /* oklch */ color: oklch(56.9% 0.190 307.2);
Tailwind
colors: {
custom: {
50: '#b884dc',
500: '#954fcc',
950: '#000000',
},
}SCSS
$custom: #954fcc; $custom-light: #b884dc; $custom-dark: #000000;
JSON
{
"hex": "#954fcc",
"rgb": {
"r": 149,
"g": 79,
"b": 204
},
"hsl": {
"h": 273.6,
"s": 55.066,
"l": 55.49
},
"oklch": {
"l": 0.56891,
"c": 0.19005,
"h": 307.2
},
"luminance": 0.16341
}Semantic roles & 50–950 ramp
primary
#954FCC
secondary
#B8D5A1
accent
#DE498B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83