#945CD4#945CD4
#945CD4 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.2% C 0.180 H 302.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #945CD4 |
|---|---|
| RGB | rgb(148, 92, 212) |
| HSL | hsl(268, 58%, 60%) |
| HSV | hsv(268, 57%, 83%) |
| CMYK | cmyk(30.2%, 56.6%, 0%, 16.9%) |
| CIE-LAB | lab(50.34, 46.44, -53.52) |
| CIE-LCH | lch(50.34, 70.86, 310.95°) |
| OKLab | oklab(59.15% 0.0975 -0.1512) |
| OKLCH | oklch(59.15% 0.18 302.8) |
| XYZ | xyz(27.9209, 18.7037, 64.4138) |
| Luminance | 0.1870 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.94
Purpley
#8756E4
ΔE00 4.06
Amethyst
#9B5FC0
ΔE00 4.31
Deep Lavender
#8D5EB7
ΔE00 4.98
Lighter Purple
#A55AF4
ΔE00 5.14
Mediumpurple
#9370DB
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945CD4 #9CD45C
analogous
#5C60D4 #945CD4 #D05CD4
triadic
#945CD4 #D4945C #5CD494
tetradic
#945CD4 #D45C60 #9CD45C #5CD4D0
square
#945CD4 #D45C60 #9CD45C #5CD4D0
split-complementary
#945CD4 #D4D05C #60D45C
monochromatic
#572690 #7533C0 #945CD4 #B48CE1 #D4BDEE
Accessibility & contrast
On white
4.43
#945CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#945CD4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945CD4
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945CD4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945CD4 | 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)
#2A77D8
Deuteranopia (green-blind)
#4077D1
Tritanopia (blue-blind)
#88748F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #945cd4; /* rgb */ color: rgb(148, 92, 212); /* oklch */ color: oklch(59.2% 0.180 302.8);
Tailwind
colors: {
custom: {
50: '#b78ce2',
500: '#945cd4',
950: '#000000',
},
}SCSS
$custom: #945cd4; $custom-light: #b78ce2; $custom-dark: #000000;
JSON
{
"hex": "#945cd4",
"rgb": {
"r": 148,
"g": 92,
"b": 212
},
"hsl": {
"h": 268,
"s": 58.252,
"l": 59.608
},
"oklch": {
"l": 0.59153,
"c": 0.17991,
"h": 302.8
},
"luminance": 0.18704
}Semantic roles & 50–950 ramp
primary
#945CD4
secondary
#C7DDAF
accent
#E14699
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83