#946BB7#946BB7
#946BB7 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.0% C 0.120 H 308.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #946BB7 |
|---|---|
| RGB | rgb(148, 107, 183) |
| HSL | hsl(272, 35%, 57%) |
| HSV | hsv(272, 42%, 72%) |
| CMYK | cmyk(19.1%, 41.5%, 0%, 28.2%) |
| CIE-LAB | lab(52.10, 31.12, -34.09) |
| CIE-LCH | lch(52.10, 46.16, 312.39°) |
| OKLab | oklab(59.96% 0.0739 -0.0946) |
| OKLCH | oklch(59.96% 0.12 308) |
| XYZ | xyz(26.0160, 20.2305, 47.3249) |
| Luminance | 0.2023 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 1.38
Amethyst
#9B5FC0
ΔE00 4.26
Deep Lavender
#8D5EB7
ΔE00 4.46
Soft Purple
#A66FB5
ΔE00 4.71
Dark Lilac
#9C6DA5
ΔE00 5.54
Wisteria
#A87DC2
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#946BB7 #8EB76B
analogous
#6E6BB7 #946BB7 #B76BB4
triadic
#946BB7 #B7946B #6BB794
tetradic
#946BB7 #B76E6B #8EB76B #6BB4B7
square
#946BB7 #B76E6B #8EB76B #6BB4B7
split-complementary
#946BB7 #B4B76B #6BB76E
monochromatic
#563771 #764B9A #946BB7 #B294CB #D0BDDF
Accessibility & contrast
On white
4.16
#946BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#946BB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #946BB7
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##946BB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##946BB7 | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A7BBA
Deuteranopia (green-blind)
#647DB5
Tritanopia (blue-blind)
#8F7788
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #946bb7; /* rgb */ color: rgb(148, 107, 183); /* oklch */ color: oklch(60.0% 0.120 308.0);
Tailwind
colors: {
custom: {
50: '#b596cd',
500: '#946bb7',
950: '#000000',
},
}SCSS
$custom: #946bb7; $custom-light: #b596cd; $custom-dark: #000000;
JSON
{
"hex": "#946bb7",
"rgb": {
"r": 148,
"g": 107,
"b": 183
},
"hsl": {
"h": 272.368,
"s": 34.545,
"l": 56.863
},
"oklch": {
"l": 0.59961,
"c": 0.12009,
"h": 308
},
"luminance": 0.2023
}Semantic roles & 50–950 ramp
primary
#946BB7
secondary
#BECEAF
accent
#CB5D90
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D13
muted
#807E82