#9045BB#9045BB
#9045BB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.9% C 0.184 H 311.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9045BB |
|---|---|
| RGB | rgb(144, 69, 187) |
| HSL | hsl(278, 46%, 50%) |
| HSV | hsv(278, 63%, 73%) |
| CMYK | cmyk(23%, 63.1%, 0%, 26.7%) |
| CIE-LAB | lab(43.91, 51.53, -49.42) |
| CIE-LCH | lch(43.91, 71.40, 316.20°) |
| OKLab | oklab(53.87% 0.121 -0.1392) |
| OKLCH | oklch(53.87% 0.184 311) |
| XYZ | xyz(22.5977, 13.7739, 48.4723) |
| Luminance | 0.1377 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.69
Darkorchid
#9932CC
ΔE00 3.80
Royal Purple
#7851A9
ΔE00 5.84
Medium Purple
#9E43A2
ΔE00 6.22
Deep Lavender
#8D5EB7
ΔE00 6.51
Barney
#AC1DB8
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9045BB #70BB45
analogous
#5545BB #9045BB #BB45AB
triadic
#9045BB #BB9045 #45BB90
tetradic
#9045BB #BB5545 #70BB45 #45ABBB
square
#9045BB #BB5545 #70BB45 #45ABBB
split-complementary
#9045BB #ABBB45 #45BB55
monochromatic
#4B2462 #6E348F #9045BB #AB72CB #C59FDC
Accessibility & contrast
On white
5.59
#9045BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#9045BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9045BB
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9045BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9045BB | 1.00 | 5.59 | 3.75 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B64BF
Deuteranopia (green-blind)
#3969B8
Tritanopia (blue-blind)
#8B5C7A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9045bb; /* rgb */ color: rgb(144, 69, 187); /* oklch */ color: oklch(53.9% 0.184 311.0);
Tailwind
colors: {
custom: {
50: '#b47dd0',
500: '#9045bb',
950: '#000000',
},
}SCSS
$custom: #9045bb; $custom-light: #b47dd0; $custom-dark: #000000;
JSON
{
"hex": "#9045bb",
"rgb": {
"r": 144,
"g": 69,
"b": 187
},
"hsl": {
"h": 278.136,
"s": 46.457,
"l": 50.196
},
"oklch": {
"l": 0.5387,
"c": 0.18447,
"h": 311
},
"luminance": 0.13773
}Semantic roles & 50–950 ramp
primary
#9045BB
secondary
#A7C894
accent
#D65282
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82