#945CBF#945CBF
#945CBF is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.9% C 0.155 H 308.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #945CBF |
|---|---|
| RGB | rgb(148, 92, 191) |
| HSL | hsl(274, 44%, 55%) |
| HSV | hsv(274, 52%, 75%) |
| CMYK | cmyk(22.5%, 51.8%, 0%, 25.1%) |
| CIE-LAB | lab(49.15, 41.44, -43.37) |
| CIE-LCH | lch(49.15, 59.98, 313.70°) |
| OKLab | oklab(57.89% 0.0964 -0.1215) |
| OKLCH | oklch(57.89% 0.155 308.4) |
| XYZ | xyz(25.4420, 17.7121, 51.3586) |
| Luminance | 0.1771 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.80
Deep Lavender
#8D5EB7
ΔE00 1.90
Deep Lilac
#966EBD
ΔE00 5.57
Lightish Purple
#A552E6
ΔE00 6.47
Royal Purple
#7851A9
ΔE00 7.01
Purpley
#8756E4
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945CBF #87BF5C
analogous
#625CBF #945CBF #BF5CB9
triadic
#945CBF #BF945C #5CBF94
tetradic
#945CBF #BF625C #87BF5C #5CB9BF
square
#945CBF #BF625C #87BF5C #5CB9BF
split-complementary
#945CBF #B9BF5C #5CBF62
monochromatic
#552D73 #753F9F #945CBF #B188D0 #CEB4E2
Accessibility & contrast
On white
4.62
#945CBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#945CBF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #945CBF
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##945CBF | 1.00 | 4.62 | 4.54 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4072C2
Deuteranopia (green-blind)
#5176BC
Tritanopia (blue-blind)
#8E6D85
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #945cbf; /* rgb */ color: rgb(148, 92, 191); /* oklch */ color: oklch(57.9% 0.155 308.4);
Tailwind
colors: {
custom: {
50: '#b68cd3',
500: '#945cbf',
950: '#000000',
},
}SCSS
$custom: #945cbf; $custom-light: #b68cd3; $custom-dark: #000000;
JSON
{
"hex": "#945cbf",
"rgb": {
"r": 148,
"g": 92,
"b": 191
},
"hsl": {
"h": 273.939,
"s": 43.612,
"l": 55.49
},
"oklch": {
"l": 0.57887,
"c": 0.15511,
"h": 308.4
},
"luminance": 0.17712
}Semantic roles & 50–950 ramp
primary
#945CBF
secondary
#B9D0A7
accent
#D3548C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83