#954ED2#954ED2
#954ED2 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.2% C 0.198 H 305.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #954ED2 |
|---|---|
| RGB | rgb(149, 78, 210) |
| HSL | hsl(272, 59%, 56%) |
| HSV | hsv(272, 63%, 82%) |
| CMYK | cmyk(29%, 62.9%, 0%, 17.6%) |
| CIE-LAB | lab(47.61, 53.47, -56.74) |
| CIE-LCH | lch(47.61, 77.97, 313.30°) |
| OKLab | oklab(57.15% 0.1158 -0.1606) |
| OKLCH | oklch(57.15% 0.198 305.8) |
| XYZ | xyz(26.7492, 16.4917, 62.7343) |
| Luminance | 0.1649 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.28
Purpley
#8756E4
ΔE00 4.46
Darkorchid
#9932CC
ΔE00 5.32
Amethyst
#9B5FC0
ΔE00 5.77
Deep Lavender
#8D5EB7
ΔE00 6.01
Purply
#983FB2
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954ED2 #8BD24E
analogous
#534ED2 #954ED2 #D24ECD
triadic
#954ED2 #D2954E #4ED295
tetradic
#954ED2 #D2534E #8BD24E #4ECDD2
square
#954ED2 #D2534E #8BD24E #4ECDD2
split-complementary
#954ED2 #CDD24E #4ED253
monochromatic
#572284 #772EB5 #954ED2 #B27FDE #CFB0EB
Accessibility & contrast
On white
4.89
#954ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#954ED2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954ED2
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954ED2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954ED2 | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#3071CF
Tritanopia (blue-blind)
#8B6989
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #954ed2; /* rgb */ color: rgb(149, 78, 210); /* oklch */ color: oklch(57.2% 0.198 305.8);
Tailwind
colors: {
custom: {
50: '#b883e0',
500: '#954ed2',
950: '#000000',
},
}SCSS
$custom: #954ed2; $custom-light: #b883e0; $custom-dark: #000000;
JSON
{
"hex": "#954ed2",
"rgb": {
"r": 149,
"g": 78,
"b": 210
},
"hsl": {
"h": 272.273,
"s": 59.459,
"l": 56.471
},
"oklch": {
"l": 0.57152,
"c": 0.19799,
"h": 305.8
},
"luminance": 0.16491
}Semantic roles & 50–950 ramp
primary
#954ED2
secondary
#BCD9A3
accent
#E3458E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83