#9145C2#9145C2
#9145C2 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.5% C 0.192 H 309.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #9145C2 |
|---|---|
| RGB | rgb(145, 69, 194) |
| HSL | hsl(276, 51%, 52%) |
| HSV | hsv(276, 64%, 76%) |
| CMYK | cmyk(25.3%, 64.4%, 0%, 23.9%) |
| CIE-LAB | lab(44.48, 53.32, -52.58) |
| CIE-LCH | lch(44.48, 74.89, 315.40°) |
| OKLab | oklab(54.45% 0.122 -0.1485) |
| OKLCH | oklch(54.45% 0.192 309.4) |
| XYZ | xyz(23.5409, 14.1715, 52.5237) |
| Luminance | 0.1417 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.30
Purply
#983FB2
ΔE00 3.54
Blueviolet
#8A2BE2
ΔE00 6.27
Royal Purple
#7851A9
ΔE00 6.35
Deep Lavender
#8D5EB7
ΔE00 6.64
Vibrant Purple
#AD03DE
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9145C2 #76C245
analogous
#5345C2 #9145C2 #C245B5
triadic
#9145C2 #C29145 #45C291
tetradic
#9145C2 #C25345 #76C245 #45B5C2
square
#9145C2 #C25345 #76C245 #45B5C2
split-complementary
#9145C2 #B5C245 #45C253
monochromatic
#4E236A #703298 #9145C2 #AC73D1 #C8A1E0
Accessibility & contrast
On white
5.48
#9145C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#9145C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9145C2
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9145C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9145C2 | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#326ABF
Tritanopia (blue-blind)
#8A5E7D
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9145c2; /* rgb */ color: rgb(145, 69, 194); /* oklch */ color: oklch(54.5% 0.192 309.4);
Tailwind
colors: {
custom: {
50: '#b57dd5',
500: '#9145c2',
950: '#000000',
},
}SCSS
$custom: #9145c2; $custom-light: #b57dd5; $custom-dark: #000000;
JSON
{
"hex": "#9145c2",
"rgb": {
"r": 145,
"g": 69,
"b": 194
},
"hsl": {
"h": 276.48,
"s": 50.607,
"l": 51.569
},
"oklch": {
"l": 0.54452,
"c": 0.19215,
"h": 309.4
},
"luminance": 0.14171
}Semantic roles & 50–950 ramp
primary
#9145C2
secondary
#ABCD96
accent
#DA4E85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83