#945CD3#945CD3
#945CD3 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.1% C 0.179 H 303.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #945CD3 |
|---|---|
| RGB | rgb(148, 92, 211) |
| HSL | hsl(268, 57%, 59%) |
| HSV | hsv(268, 56%, 83%) |
| CMYK | cmyk(29.9%, 56.4%, 0%, 17.3%) |
| CIE-LAB | lab(50.28, 46.19, -53.04) |
| CIE-LCH | lch(50.28, 70.34, 311.05°) |
| OKLab | oklab(59.09% 0.0975 -0.1498) |
| OKLCH | oklch(59.09% 0.179 303) |
| XYZ | xyz(27.7951, 18.6534, 63.7515) |
| Luminance | 0.1865 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.02
Amethyst
#9B5FC0
ΔE00 4.17
Purpley
#8756E4
ΔE00 4.18
Deep Lavender
#8D5EB7
ΔE00 4.83
Lighter Purple
#A55AF4
ΔE00 5.27
Mediumpurple
#9370DB
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945CD3 #9BD35C
analogous
#5C60D3 #945CD3 #CF5CD3
triadic
#945CD3 #D3945C #5CD394
tetradic
#945CD3 #D35C60 #9BD35C #5CD3CF
square
#945CD3 #D35C60 #9BD35C #5CD3CF
split-complementary
#945CD3 #D3CF5C #60D35C
monochromatic
#57268E #7533BE #945CD3 #B48CE0 #D3BCED
Accessibility & contrast
On white
4.44
#945CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#945CD3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945CD3
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945CD3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945CD3 | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B76D7
Deuteranopia (green-blind)
#4177D0
Tritanopia (blue-blind)
#88738F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #945cd3; /* rgb */ color: rgb(148, 92, 211); /* oklch */ color: oklch(59.1% 0.179 303.0);
Tailwind
colors: {
custom: {
50: '#b78ce1',
500: '#945cd3',
950: '#000000',
},
}SCSS
$custom: #945cd3; $custom-light: #b78ce1; $custom-dark: #000000;
JSON
{
"hex": "#945cd3",
"rgb": {
"r": 148,
"g": 92,
"b": 211
},
"hsl": {
"h": 268.235,
"s": 57.488,
"l": 59.412
},
"oklch": {
"l": 0.5909,
"c": 0.17873,
"h": 303
},
"luminance": 0.18653
}Semantic roles & 50–950 ramp
primary
#945CD3
secondary
#C7DDAE
accent
#E14798
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83