#954FC5#954FC5
#954FC5 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.4% C 0.182 H 309.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #954FC5 |
|---|---|
| RGB | rgb(149, 79, 197) |
| HSL | hsl(276, 50%, 54%) |
| HSV | hsv(276, 60%, 77%) |
| CMYK | cmyk(24.4%, 59.9%, 0%, 22.7%) |
| CIE-LAB | lab(46.99, 49.98, -50.26) |
| CIE-LCH | lch(46.99, 70.88, 314.84°) |
| OKLab | oklab(56.44% 0.115 -0.1416) |
| OKLCH | oklch(56.44% 0.182 309.1) |
| XYZ | xyz(25.2665, 16.0132, 54.5723) |
| Luminance | 0.1601 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.70
Amethyst
#9B5FC0
ΔE00 4.75
Purply
#983FB2
ΔE00 4.88
Darkorchid
#9932CC
ΔE00 5.35
Lightish Purple
#A552E6
ΔE00 5.67
Purpley
#8756E4
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954FC5 #7FC54F
analogous
#5A4FC5 #954FC5 #C54FBA
triadic
#954FC5 #C5954F #4FC595
tetradic
#954FC5 #C55A4F #7FC54F #4FBAC5
square
#954FC5 #C55A4F #7FC54F #4FBAC5
split-complementary
#954FC5 #BAC54F #4FC55A
monochromatic
#542674 #7535A2 #954FC5 #B17DD4 #CCABE3
Accessibility & contrast
On white
5.00
#954FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#954FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954FC5
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954FC5 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F6CC9
Deuteranopia (green-blind)
#3F70C2
Tritanopia (blue-blind)
#8E6683
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #954fc5; /* rgb */ color: rgb(149, 79, 197); /* oklch */ color: oklch(56.4% 0.182 309.1);
Tailwind
colors: {
custom: {
50: '#b784d7',
500: '#954fc5',
950: '#000000',
},
}SCSS
$custom: #954fc5; $custom-light: #b784d7; $custom-dark: #000000;
JSON
{
"hex": "#954fc5",
"rgb": {
"r": 149,
"g": 79,
"b": 197
},
"hsl": {
"h": 275.593,
"s": 50.427,
"l": 54.118
},
"oklch": {
"l": 0.56443,
"c": 0.18239,
"h": 309.1
},
"luminance": 0.16013
}Semantic roles & 50–950 ramp
primary
#954FC5
secondary
#B3D19F
accent
#DA4E87
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83