#945DCF#945DCF
#945DCF is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.0% C 0.172 H 303.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #945DCF |
|---|---|
| RGB | rgb(148, 93, 207) |
| HSL | hsl(269, 54%, 59%) |
| HSV | hsv(269, 55%, 81%) |
| CMYK | cmyk(28.5%, 55.1%, 0%, 18.8%) |
| CIE-LAB | lab(50.25, 44.68, -50.80) |
| CIE-LCH | lch(50.25, 67.66, 311.33°) |
| OKLab | oklab(58.99% 0.0961 -0.1432) |
| OKLCH | oklch(58.99% 0.172 303.9) |
| XYZ | xyz(27.3871, 18.6297, 61.1725) |
| Luminance | 0.1863 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.53
Deep Lavender
#8D5EB7
ΔE00 4.19
Lightish Purple
#A552E6
ΔE00 4.49
Purpley
#8756E4
ΔE00 4.78
Lighter Purple
#A55AF4
ΔE00 5.78
Mediumpurple
#9370DB
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945DCF #98CF5D
analogous
#5D5FCF #945DCF #CD5DCF
triadic
#945DCF #CF945D #5DCF94
tetradic
#945DCF #CF5D5F #98CF5D #5DCFCD
square
#945DCF #CF5D5F #98CF5D #5DCFCD
split-complementary
#945DCF #CFCD5D #5FCF5D
monochromatic
#572989 #7537B8 #945DCF #B38CDD #D2BBEB
Accessibility & contrast
On white
4.44
#945DCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#945DCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #945DCF
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945DCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##945DCF | 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)
#3276D3
Deuteranopia (green-blind)
#4677CC
Tritanopia (blue-blind)
#89738D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #945dcf; /* rgb */ color: rgb(148, 93, 207); /* oklch */ color: oklch(59.0% 0.172 303.9);
Tailwind
colors: {
custom: {
50: '#b78dde',
500: '#945dcf',
950: '#000000',
},
}SCSS
$custom: #945dcf; $custom-light: #b78dde; $custom-dark: #000000;
JSON
{
"hex": "#945dcf",
"rgb": {
"r": 148,
"g": 93,
"b": 207
},
"hsl": {
"h": 268.947,
"s": 54.286,
"l": 58.824
},
"oklch": {
"l": 0.58994,
"c": 0.17249,
"h": 303.9
},
"luminance": 0.1863
}Semantic roles & 50–950 ramp
primary
#945DCF
secondary
#C5DAAD
accent
#DE4A96
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83