#954DCD#954DCD
#954DCD is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.7% C 0.194 H 307.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #954DCD |
|---|---|
| RGB | rgb(149, 77, 205) |
| HSL | hsl(274, 56%, 55%) |
| HSV | hsv(274, 62%, 80%) |
| CMYK | cmyk(27.3%, 62.4%, 0%, 19.6%) |
| CIE-LAB | lab(47.11, 52.81, -54.68) |
| CIE-LCH | lch(47.11, 76.02, 314.00°) |
| OKLab | oklab(56.69% 0.1172 -0.1545) |
| OKLCH | oklch(56.69% 0.194 307.2) |
| XYZ | xyz(26.0655, 16.1054, 59.4813) |
| Luminance | 0.1610 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.90
Darkorchid
#9932CC
ΔE00 4.91
Purpley
#8756E4
ΔE00 5.19
Amethyst
#9B5FC0
ΔE00 5.59
Purply
#983FB2
ΔE00 5.62
Deep Lavender
#8D5EB7
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954DCD #85CD4D
analogous
#554DCD #954DCD #CD4DC5
triadic
#954DCD #CD954D #4DCD95
tetradic
#954DCD #CD554D #85CD4D #4DC5CD
square
#954DCD #CD554D #85CD4D #4DC5CD
split-complementary
#954DCD #C5CD4D #4DCD55
monochromatic
#55237D #7630AC #954DCD #B17DDA #CEADE8
Accessibility & contrast
On white
4.98
#954DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#954DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954DCD
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954DCD | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#3570CA
Tritanopia (blue-blind)
#8C6786
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #954dcd; /* rgb */ color: rgb(149, 77, 205); /* oklch */ color: oklch(56.7% 0.194 307.2);
Tailwind
colors: {
custom: {
50: '#b883dd',
500: '#954dcd',
950: '#000000',
},
}SCSS
$custom: #954dcd; $custom-light: #b883dd; $custom-dark: #000000;
JSON
{
"hex": "#954dcd",
"rgb": {
"r": 149,
"g": 77,
"b": 205
},
"hsl": {
"h": 273.75,
"s": 56.14,
"l": 55.294
},
"oklch": {
"l": 0.56688,
"c": 0.19396,
"h": 307.2
},
"luminance": 0.16105
}Semantic roles & 50–950 ramp
primary
#954DCD
secondary
#B8D6A0
accent
#DF488A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83