#9045C2#9045C2
#9045C2 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.3% C 0.192 H 309.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #9045C2 |
|---|---|
| RGB | rgb(144, 69, 194) |
| HSL | hsl(276, 51%, 52%) |
| HSV | hsv(276, 64%, 76%) |
| CMYK | cmyk(25.8%, 64.4%, 0%, 23.9%) |
| CIE-LAB | lab(44.35, 53.09, -52.80) |
| CIE-LCH | lch(44.35, 74.88, 315.16°) |
| OKLab | oklab(54.33% 0.1207 -0.1491) |
| OKLCH | oklch(54.33% 0.192 309) |
| XYZ | xyz(23.3654, 14.0810, 52.5155) |
| Luminance | 0.1408 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.32
Purply
#983FB2
ΔE00 3.65
Blueviolet
#8A2BE2
ΔE00 6.18
Royal Purple
#7851A9
ΔE00 6.24
Deep Lavender
#8D5EB7
ΔE00 6.67
Vibrant Purple
#AD03DE
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9045C2 #77C245
analogous
#5245C2 #9045C2 #C245B6
triadic
#9045C2 #C29045 #45C290
tetradic
#9045C2 #C25245 #77C245 #45B6C2
square
#9045C2 #C25245 #77C245 #45B6C2
split-complementary
#9045C2 #B6C245 #45C252
monochromatic
#4D236A #6F3298 #9045C2 #AC73D1 #C7A1E0
Accessibility & contrast
On white
5.50
#9045C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#9045C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9045C2
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9045C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9045C2 | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#316ABF
Tritanopia (blue-blind)
#895E7D
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9045c2; /* rgb */ color: rgb(144, 69, 194); /* oklch */ color: oklch(54.3% 0.192 309.0);
Tailwind
colors: {
custom: {
50: '#b47dd5',
500: '#9045c2',
950: '#000000',
},
}SCSS
$custom: #9045c2; $custom-light: #b47dd5; $custom-dark: #000000;
JSON
{
"hex": "#9045c2",
"rgb": {
"r": 144,
"g": 69,
"b": 194
},
"hsl": {
"h": 276,
"s": 50.607,
"l": 51.569
},
"oklch": {
"l": 0.54331,
"c": 0.19184,
"h": 309
},
"luminance": 0.14081
}Semantic roles & 50–950 ramp
primary
#9045C2
secondary
#ACCD96
accent
#DA4E86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83