#945CD0#945CD0
#945CD0 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.9% C 0.175 H 303.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #945CD0 |
|---|---|
| RGB | rgb(148, 92, 208) |
| HSL | hsl(269, 55%, 59%) |
| HSV | hsv(269, 56%, 82%) |
| CMYK | cmyk(28.8%, 55.8%, 0%, 18.4%) |
| CIE-LAB | lab(50.10, 45.47, -51.61) |
| CIE-LCH | lch(50.10, 68.78, 311.38°) |
| OKLab | oklab(58.9% 0.0974 -0.1456) |
| OKLCH | oklch(58.9% 0.175 303.8) |
| XYZ | xyz(27.4225, 18.5043, 61.7893) |
| Luminance | 0.1850 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.74
Lightish Purple
#A552E6
ΔE00 4.29
Deep Lavender
#8D5EB7
ΔE00 4.36
Purpley
#8756E4
ΔE00 4.55
Lighter Purple
#A55AF4
ΔE00 5.67
Mediumpurple
#9370DB
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945CD0 #98D05C
analogous
#5C5ED0 #945CD0 #CE5CD0
triadic
#945CD0 #D0945C #5CD094
tetradic
#945CD0 #D05C5E #98D05C #5CD0CE
square
#945CD0 #D05C5E #98D05C #5CD0CE
split-complementary
#945CD0 #D0CE5C #5ED05C
monochromatic
#57288A #7535B9 #945CD0 #B38CDE #D2BBEB
Accessibility & contrast
On white
4.47
#945CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#945CD0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945CD0
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945CD0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945CD0 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F76D4
Deuteranopia (green-blind)
#4477CD
Tritanopia (blue-blind)
#89728D
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #945cd0; /* rgb */ color: rgb(148, 92, 208); /* oklch */ color: oklch(58.9% 0.175 303.8);
Tailwind
colors: {
custom: {
50: '#b78cdf',
500: '#945cd0',
950: '#000000',
},
}SCSS
$custom: #945cd0; $custom-light: #b78cdf; $custom-dark: #000000;
JSON
{
"hex": "#945cd0",
"rgb": {
"r": 148,
"g": 92,
"b": 208
},
"hsl": {
"h": 268.966,
"s": 55.238,
"l": 58.824
},
"oklch": {
"l": 0.58903,
"c": 0.17519,
"h": 303.8
},
"luminance": 0.18504
}Semantic roles & 50–950 ramp
primary
#945CD0
secondary
#C5DBAD
accent
#DF4996
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83