#9A45BC#9A45BC
#9A45BC is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.189 H 315.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9A45BC |
|---|---|
| RGB | rgb(154, 69, 188) |
| HSL | hsl(283, 47%, 50%) |
| HSV | hsv(283, 63%, 74%) |
| CMYK | cmyk(18.1%, 63.3%, 0%, 26.3%) |
| CIE-LAB | lab(45.30, 54.11, -47.70) |
| CIE-LCH | lch(45.30, 72.14, 318.60°) |
| OKLab | oklab(55.18% 0.1337 -0.1339) |
| OKLCH | oklch(55.18% 0.189 315) |
| XYZ | xyz(24.5302, 14.7579, 49.1236) |
| Luminance | 0.1476 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.14
Darkorchid
#9932CC
ΔE00 4.13
Medium Purple
#9E43A2
ΔE00 5.16
Barney
#AC1DB8
ΔE00 5.55
Ugly Purple
#A442A0
ΔE00 6.21
Amethyst
#9B5FC0
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A45BC #67BC45
analogous
#5E45BC #9A45BC #BC45A3
triadic
#9A45BC #BC9A45 #45BC9A
tetradic
#9A45BC #BC5E45 #67BC45 #45A3BC
square
#9A45BC #BC5E45 #67BC45 #45A3BC
split-complementary
#9A45BC #A3BC45 #45BC5E
monochromatic
#512463 #763490 #9A45BC #B272CC #CB9FDC
Accessibility & contrast
On white
5.31
#9A45BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#9A45BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A45BC
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A45BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A45BC | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1766C0
Deuteranopia (green-blind)
#426DB9
Tritanopia (blue-blind)
#975B7A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9a45bc; /* rgb */ color: rgb(154, 69, 188); /* oklch */ color: oklch(55.2% 0.189 315.0);
Tailwind
colors: {
custom: {
50: '#bb7ed1',
500: '#9a45bc',
950: '#000000',
},
}SCSS
$custom: #9a45bc; $custom-light: #bb7ed1; $custom-dark: #000000;
JSON
{
"hex": "#9a45bc",
"rgb": {
"r": 154,
"g": 69,
"b": 188
},
"hsl": {
"h": 282.857,
"s": 47.036,
"l": 50.392
},
"oklch": {
"l": 0.55181,
"c": 0.18919,
"h": 315
},
"luminance": 0.14757
}Semantic roles & 50–950 ramp
primary
#9A45BC
secondary
#A3C994
accent
#D75177
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82