#954FC3#954FC3
#954FC3 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.3% C 0.180 H 309.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #954FC3 |
|---|---|
| RGB | rgb(149, 79, 195) |
| HSL | hsl(276, 49%, 54%) |
| HSV | hsv(276, 59%, 76%) |
| CMYK | cmyk(23.6%, 59.5%, 0%, 23.5%) |
| CIE-LAB | lab(46.87, 49.52, -49.29) |
| CIE-LCH | lch(46.87, 69.88, 315.13°) |
| OKLab | oklab(56.32% 0.115 -0.1388) |
| OKLCH | oklch(56.32% 0.18 309.6) |
| XYZ | xyz(25.0388, 15.9221, 53.3734) |
| Luminance | 0.1592 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.57
Purply
#983FB2
ΔE00 4.64
Amethyst
#9B5FC0
ΔE00 4.67
Darkorchid
#9932CC
ΔE00 5.40
Lightish Purple
#A552E6
ΔE00 5.94
Purpley
#8756E4
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954FC3 #7DC34F
analogous
#5B4FC3 #954FC3 #C34FB7
triadic
#954FC3 #C3954F #4FC395
tetradic
#954FC3 #C35B4F #7DC34F #4FB7C3
square
#954FC3 #C35B4F #7DC34F #4FB7C3
split-complementary
#954FC3 #B7C34F #4FC35B
monochromatic
#542771 #75369F #954FC3 #B07DD3 #CCAAE2
Accessibility & contrast
On white
5.02
#954FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#954FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954FC3
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954FC3 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226CC7
Deuteranopia (green-blind)
#4170C0
Tritanopia (blue-blind)
#8F6581
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #954fc3; /* rgb */ color: rgb(149, 79, 195); /* oklch */ color: oklch(56.3% 0.180 309.6);
Tailwind
colors: {
custom: {
50: '#b784d6',
500: '#954fc3',
950: '#000000',
},
}SCSS
$custom: #954fc3; $custom-light: #b784d6; $custom-dark: #000000;
JSON
{
"hex": "#954fc3",
"rgb": {
"r": 149,
"g": 79,
"b": 195
},
"hsl": {
"h": 276.207,
"s": 49.153,
"l": 53.725
},
"oklch": {
"l": 0.56317,
"c": 0.18021,
"h": 309.6
},
"luminance": 0.15922
}Semantic roles & 50–950 ramp
primary
#954FC3
secondary
#B2D09E
accent
#D94F86
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83