#945CBB#945CBB
#945CBB is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.7% C 0.150 H 309.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #945CBB |
|---|---|
| RGB | rgb(148, 92, 187) |
| HSL | hsl(275, 41%, 55%) |
| HSV | hsv(275, 51%, 73%) |
| CMYK | cmyk(20.9%, 50.8%, 0%, 26.7%) |
| CIE-LAB | lab(48.93, 40.52, -41.39) |
| CIE-LCH | lch(48.93, 57.92, 314.39°) |
| OKLab | oklab(57.66% 0.096 -0.1157) |
| OKLCH | oklch(57.66% 0.15 309.7) |
| XYZ | xyz(25.0078, 17.5385, 49.0719) |
| Luminance | 0.1754 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.61
Amethyst
#9B5FC0
ΔE00 1.81
Deep Lilac
#966EBD
ΔE00 5.49
Royal Purple
#7851A9
ΔE00 6.85
Purply
#983FB2
ΔE00 7.08
Lightish Purple
#A552E6
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945CBB #83BB5C
analogous
#645CBB #945CBB #BB5CB3
triadic
#945CBB #BB945C #5CBB94
tetradic
#945CBB #BB645C #83BB5C #5CB3BB
square
#945CBB #BB645C #83BB5C #5CB3BB
split-complementary
#945CBB #B3BB5C #5CBB64
monochromatic
#542E6F #75409A #945CBB #B087CD #CDB2DF
Accessibility & contrast
On white
4.66
#945CBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#945CBB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #945CBB
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945CBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##945CBB | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#5475B9
Tritanopia (blue-blind)
#8F6C83
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #945cbb; /* rgb */ color: rgb(148, 92, 187); /* oklch */ color: oklch(57.7% 0.150 309.7);
Tailwind
colors: {
custom: {
50: '#b58cd0',
500: '#945cbb',
950: '#000000',
},
}SCSS
$custom: #945cbb; $custom-light: #b58cd0; $custom-dark: #000000;
JSON
{
"hex": "#945cbb",
"rgb": {
"r": 148,
"g": 92,
"b": 187
},
"hsl": {
"h": 275.368,
"s": 41.126,
"l": 54.706
},
"oklch": {
"l": 0.5766,
"c": 0.15039,
"h": 309.7
},
"luminance": 0.17538
}Semantic roles & 50–950 ramp
primary
#945CBB
secondary
#B6CDA5
accent
#D15789
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82