#945BBB#945BBB
#945BBB is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.5% C 0.152 H 309.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #945BBB |
|---|---|
| RGB | rgb(148, 91, 187) |
| HSL | hsl(276, 41%, 55%) |
| HSV | hsv(276, 51%, 73%) |
| CMYK | cmyk(20.9%, 51.3%, 0%, 26.7%) |
| CIE-LAB | lab(48.72, 41.07, -41.73) |
| CIE-LCH | lch(48.72, 58.55, 314.54°) |
| OKLab | oklab(57.5% 0.0974 -0.1167) |
| OKLCH | oklch(57.5% 0.152 309.8) |
| XYZ | xyz(24.9218, 17.3663, 49.0432) |
| Luminance | 0.1737 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.72
Amethyst
#9B5FC0
ΔE00 1.97
Deep Lilac
#966EBD
ΔE00 5.78
Royal Purple
#7851A9
ΔE00 6.71
Purply
#983FB2
ΔE00 6.81
Lightish Purple
#A552E6
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#945BBB #82BB5B
analogous
#645BBB #945BBB #BB5BB2
triadic
#945BBB #BB945B #5BBB94
tetradic
#945BBB #BB645B #82BB5B #5BB2BB
square
#945BBB #BB645B #82BB5B #5BB2BB
split-complementary
#945BBB #B2BB5B #5BBB64
monochromatic
#542E6E #754099 #945BBB #B086CD #CCB2DF
Accessibility & contrast
On white
4.69
#945BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#945BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #945BBB
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##945BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##945BBB | 1.00 | 4.69 | 4.47 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4171BE
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#8F6B82
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #945bbb; /* rgb */ color: rgb(148, 91, 187); /* oklch */ color: oklch(57.5% 0.152 309.8);
Tailwind
colors: {
custom: {
50: '#b68bd0',
500: '#945bbb',
950: '#000000',
},
}SCSS
$custom: #945bbb; $custom-light: #b68bd0; $custom-dark: #000000;
JSON
{
"hex": "#945bbb",
"rgb": {
"r": 148,
"g": 91,
"b": 187
},
"hsl": {
"h": 275.625,
"s": 41.379,
"l": 54.51
},
"oklch": {
"l": 0.57502,
"c": 0.15203,
"h": 309.8
},
"luminance": 0.17366
}Semantic roles & 50–950 ramp
primary
#945BBB
secondary
#B5CDA5
accent
#D15788
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82