#945DCD#945DCD
#945DCD is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.9% C 0.170 H 304.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #945DCD |
|---|---|
| RGB | rgb(148, 93, 205) |
| HSL | hsl(269, 53%, 58%) |
| HSV | hsv(269, 55%, 80%) |
| CMYK | cmyk(27.8%, 54.6%, 0%, 19.6%) |
| CIE-LAB | lab(50.14, 44.20, -49.84) |
| CIE-LCH | lch(50.14, 66.62, 311.57°) |
| OKLab | oklab(58.87% 0.096 -0.1404) |
| OKLCH | oklch(58.87% 0.17 304.4) |
| XYZ | xyz(27.1441, 18.5325, 59.8929) |
| Luminance | 0.1853 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.24
Deep Lavender
#8D5EB7
ΔE00 3.87
Lightish Purple
#A552E6
ΔE00 4.69
Purpley
#8756E4
ΔE00 5.05
Mediumpurple
#9370DB
ΔE00 5.96
Lighter Purple
#A55AF4
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945DCD #96CD5D
analogous
#5D5ECD #945DCD #CC5DCD
triadic
#945DCD #CD945D #5DCD94
tetradic
#945DCD #CD5D5E #96CD5D #5DCDCC
square
#945DCD #CD5D5E #96CD5D #5DCDCC
split-complementary
#945DCD #CDCC5D #5ECD5D
monochromatic
#572986 #7538B5 #945DCD #B38CDB #D2BBEA
Accessibility & contrast
On white
4.46
#945DCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#945DCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945DCD
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945DCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945DCD | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3576D1
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#8A728C
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #945dcd; /* rgb */ color: rgb(148, 93, 205); /* oklch */ color: oklch(58.9% 0.170 304.4);
Tailwind
colors: {
custom: {
50: '#b68ddd',
500: '#945dcd',
950: '#000000',
},
}SCSS
$custom: #945dcd; $custom-light: #b68ddd; $custom-dark: #000000;
JSON
{
"hex": "#945dcd",
"rgb": {
"r": 148,
"g": 93,
"b": 205
},
"hsl": {
"h": 269.464,
"s": 52.83,
"l": 58.431
},
"oklch": {
"l": 0.58871,
"c": 0.17011,
"h": 304.4
},
"luminance": 0.18532
}Semantic roles & 50–950 ramp
primary
#945DCD
secondary
#C3D9AD
accent
#DC4C95
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83