#946BB2#946BB2
#946BB2 is a mid, moderate violet. Relative luminance 0.200; OKLCH L 59.7% C 0.114 H 309.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #946BB2 |
|---|---|
| RGB | rgb(148, 107, 178) |
| HSL | hsl(275, 32%, 56%) |
| HSV | hsv(275, 40%, 70%) |
| CMYK | cmyk(16.9%, 39.9%, 0%, 30.2%) |
| CIE-LAB | lab(51.87, 29.97, -31.56) |
| CIE-LCH | lch(51.87, 43.52, 313.52°) |
| OKLab | oklab(59.71% 0.0729 -0.0873) |
| OKLCH | oklch(59.71% 0.114 309.9) |
| XYZ | xyz(25.5049, 20.0260, 44.6327) |
| Luminance | 0.2003 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 2.29
Soft Purple
#A66FB5
ΔE00 4.28
Dark Lilac
#9C6DA5
ΔE00 4.52
Amethyst
#9B5FC0
ΔE00 4.86
Deep Lavender
#8D5EB7
ΔE00 4.91
Dark Lavender
#856798
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#946BB2 #89B26B
analogous
#706BB2 #946BB2 #B26BAC
triadic
#946BB2 #B2946B #6BB294
tetradic
#946BB2 #B2706B #89B26B #6BACB2
square
#946BB2 #B2706B #89B26B #6BACB2
split-complementary
#946BB2 #ACB26B #6BB270
monochromatic
#55386B #754D93 #946BB2 #B193C7 #CEBCDC
Accessibility & contrast
On white
4.20
#946BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#946BB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #946BB2
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##946BB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##946BB2 | 1.00 | 4.20 | 5.01 | 5.01 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D7AB5
Deuteranopia (green-blind)
#667CB0
Tritanopia (blue-blind)
#907586
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #946bb2; /* rgb */ color: rgb(148, 107, 178); /* oklch */ color: oklch(59.7% 0.114 309.9);
Tailwind
colors: {
custom: {
50: '#b496c9',
500: '#946bb2',
950: '#000000',
},
}SCSS
$custom: #946bb2; $custom-light: #b496c9; $custom-dark: #000000;
JSON
{
"hex": "#946bb2",
"rgb": {
"r": 148,
"g": 107,
"b": 178
},
"hsl": {
"h": 274.648,
"s": 31.556,
"l": 55.882
},
"oklch": {
"l": 0.59712,
"c": 0.11378,
"h": 309.9
},
"luminance": 0.20026
}Semantic roles & 50–950 ramp
primary
#946BB2
secondary
#BACBAE
accent
#C8608C
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82