#945CD9#945CD9
#945CD9 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.5% C 0.186 H 301.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #945CD9 |
|---|---|
| RGB | rgb(148, 92, 217) |
| HSL | hsl(267, 62%, 61%) |
| HSV | hsv(267, 58%, 85%) |
| CMYK | cmyk(31.8%, 57.6%, 0%, 14.9%) |
| CIE-LAB | lab(50.64, 47.66, -55.88) |
| CIE-LCH | lch(50.64, 73.44, 310.46°) |
| OKLab | oklab(59.47% 0.0975 -0.1581) |
| OKLCH | oklch(59.47% 0.186 301.7) |
| XYZ | xyz(28.5614, 18.9599, 67.7871) |
| Luminance | 0.1896 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.56
Lightish Purple
#A552E6
ΔE00 3.63
Lighter Purple
#A55AF4
ΔE00 4.54
Amethyst
#9B5FC0
ΔE00 5.03
Mediumpurple
#9370DB
ΔE00 5.62
Deep Lavender
#8D5EB7
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945CD9 #A1D95C
analogous
#5C62D9 #945CD9 #D25CD9
triadic
#945CD9 #D9945C #5CD994
tetradic
#945CD9 #D95C62 #A1D95C #5CD9D2
square
#945CD9 #D95C62 #A1D95C #5CD9D2
split-complementary
#945CD9 #D9D25C #62D95C
monochromatic
#572397 #742FC9 #945CD9 #B58EE5 #D5BFF0
Accessibility & contrast
On white
4.38
#945CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#945CD9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945CD9
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945CD9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945CD9 | 1.00 | 4.38 | 4.79 | 4.79 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2178DD
Deuteranopia (green-blind)
#3A78D6
Tritanopia (blue-blind)
#867592
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #945cd9; /* rgb */ color: rgb(148, 92, 217); /* oklch */ color: oklch(59.5% 0.186 301.7);
Tailwind
colors: {
custom: {
50: '#b78ce5',
500: '#945cd9',
950: '#000000',
},
}SCSS
$custom: #945cd9; $custom-light: #b78ce5; $custom-dark: #000000;
JSON
{
"hex": "#945cd9",
"rgb": {
"r": 148,
"g": 92,
"b": 217
},
"hsl": {
"h": 266.88,
"s": 62.189,
"l": 60.588
},
"oklch": {
"l": 0.59471,
"c": 0.18578,
"h": 301.7
},
"luminance": 0.1896
}Semantic roles & 50–950 ramp
primary
#945CD9
secondary
#CBE0B1
accent
#CA1C7C
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84