#9146CB#9146CB
#9146CB is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.200 H 306.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9146CB |
|---|---|
| RGB | rgb(145, 70, 203) |
| HSL | hsl(274, 56%, 54%) |
| HSV | hsv(274, 66%, 80%) |
| CMYK | cmyk(28.6%, 65.5%, 0%, 20.4%) |
| CIE-LAB | lab(45.24, 54.88, -56.57) |
| CIE-LCH | lch(45.24, 78.82, 314.13°) |
| OKLab | oklab(55.19% 0.1202 -0.1602) |
| OKLCH | oklch(55.19% 0.2 306.9) |
| XYZ | xyz(24.6444, 14.7121, 58.0298) |
| Luminance | 0.1471 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.40
Purply
#983FB2
ΔE00 4.90
Blueviolet
#8A2BE2
ΔE00 5.55
Purpley
#8756E4
ΔE00 5.94
Lightish Purple
#A552E6
ΔE00 6.44
Vibrant Purple
#AD03DE
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9146CB #80CB46
analogous
#4E46CB #9146CB #CB46C2
triadic
#9146CB #CB9146 #46CB91
tetradic
#9146CB #CB4E46 #80CB46 #46C2CB
square
#9146CB #CB4E46 #80CB46 #46C2CB
split-complementary
#9146CB #C2CB46 #46CB4E
monochromatic
#512176 #712EA5 #9146CB #AD76D8 #CAA6E6
Accessibility & contrast
On white
5.33
#9146CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#9146CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9146CB
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9146CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9146CB | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#276CC8
Tritanopia (blue-blind)
#876283
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9146cb; /* rgb */ color: rgb(145, 70, 203); /* oklch */ color: oklch(55.2% 0.200 306.9);
Tailwind
colors: {
custom: {
50: '#b57edc',
500: '#9146cb',
950: '#000000',
},
}SCSS
$custom: #9146cb; $custom-light: #b57edc; $custom-dark: #000000;
JSON
{
"hex": "#9146cb",
"rgb": {
"r": 145,
"g": 70,
"b": 203
},
"hsl": {
"h": 273.835,
"s": 56.118,
"l": 53.529
},
"oklch": {
"l": 0.55186,
"c": 0.20027,
"h": 306.9
},
"luminance": 0.14712
}Semantic roles & 50–950 ramp
primary
#9146CB
secondary
#B3D39A
accent
#DF488A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83