#955CD2#955CD2
#955CD2 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.1% C 0.178 H 303.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #955CD2 |
|---|---|
| RGB | rgb(149, 92, 210) |
| HSL | hsl(269, 57%, 59%) |
| HSV | hsv(269, 56%, 82%) |
| CMYK | cmyk(29%, 56.2%, 0%, 17.6%) |
| CIE-LAB | lab(50.33, 46.20, -52.38) |
| CIE-LCH | lch(50.33, 69.84, 311.41°) |
| OKLab | oklab(59.13% 0.0987 -0.1478) |
| OKLCH | oklch(59.13% 0.178 303.7) |
| XYZ | xyz(27.8518, 18.6971, 63.1019) |
| Luminance | 0.1870 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.90
Lightish Purple
#A552E6
ΔE00 4.00
Purpley
#8756E4
ΔE00 4.45
Deep Lavender
#8D5EB7
ΔE00 4.68
Lighter Purple
#A55AF4
ΔE00 5.33
Mediumpurple
#9370DB
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#955CD2 #99D25C
analogous
#5C5ED2 #955CD2 #D05CD2
triadic
#955CD2 #D2955C #5CD295
tetradic
#955CD2 #D25C5E #99D25C #5CD2D0
square
#955CD2 #D25C5E #99D25C #5CD2D0
split-complementary
#955CD2 #D2D05C #5ED25C
monochromatic
#58278D #7634BD #955CD2 #B48CDF #D3BCEC
Accessibility & contrast
On white
4.43
#955CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#955CD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #955CD2
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##955CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##955CD2 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D76D6
Deuteranopia (green-blind)
#4378CF
Tritanopia (blue-blind)
#8A738E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #955cd2; /* rgb */ color: rgb(149, 92, 210); /* oklch */ color: oklch(59.1% 0.178 303.7);
Tailwind
colors: {
custom: {
50: '#b78ce0',
500: '#955cd2',
950: '#000000',
},
}SCSS
$custom: #955cd2; $custom-light: #b78ce0; $custom-dark: #000000;
JSON
{
"hex": "#955cd2",
"rgb": {
"r": 149,
"g": 92,
"b": 210
},
"hsl": {
"h": 268.983,
"s": 56.731,
"l": 59.216
},
"oklch": {
"l": 0.59134,
"c": 0.17778,
"h": 303.7
},
"luminance": 0.18697
}Semantic roles & 50–950 ramp
primary
#955CD2
secondary
#C6DCAE
accent
#E04896
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83