#A045B2#A045B2
#A045B2 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.4% C 0.182 H 320.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A045B2 |
|---|---|
| RGB | rgb(160, 69, 178) |
| HSL | hsl(290, 44%, 48%) |
| HSV | hsv(290, 61%, 70%) |
| CMYK | cmyk(10.1%, 61.2%, 0%, 30.2%) |
| CIE-LAB | lab(45.56, 53.56, -41.39) |
| CIE-LCH | lch(45.56, 67.69, 322.31°) |
| OKLab | oklab(55.36% 0.1409 -0.1153) |
| OKLCH | oklch(55.36% 0.182 320.7) |
| XYZ | xyz(24.6603, 14.9453, 43.6966) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.38
Medium Purple
#9E43A2
ΔE00 2.96
Ugly Purple
#A442A0
ΔE00 3.82
Barney
#AC1DB8
ΔE00 5.12
Darkorchid
#9932CC
ΔE00 6.05
Amethyst
#9B5FC0
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A045B2 #57B245
analogous
#6945B2 #A045B2 #B2458D
triadic
#A045B2 #B2A045 #45B2A0
tetradic
#A045B2 #B26945 #57B245 #458DB2
square
#A045B2 #B26945 #57B245 #458DB2
split-complementary
#A045B2 #8DB245 #45B269
monochromatic
#51235A #783486 #A045B2 #B86EC7 #CD9AD8
Accessibility & contrast
On white
5.26
#A045B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#A045B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A045B2
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A045B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A045B2 | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C65B5
Deuteranopia (green-blind)
#4F6FAF
Tritanopia (blue-blind)
#A15675
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a045b2; /* rgb */ color: rgb(160, 69, 178); /* oklch */ color: oklch(55.4% 0.182 320.7);
Tailwind
colors: {
custom: {
50: '#bf7ec9',
500: '#a045b2',
950: '#000000',
},
}SCSS
$custom: #a045b2; $custom-light: #bf7ec9; $custom-dark: #000000;
JSON
{
"hex": "#a045b2",
"rgb": {
"r": 160,
"g": 69,
"b": 178
},
"hsl": {
"h": 290.092,
"s": 44.13,
"l": 48.431
},
"oklch": {
"l": 0.55356,
"c": 0.18207,
"h": 320.7
},
"luminance": 0.14944
}Semantic roles & 50–950 ramp
primary
#A045B2
secondary
#98C48F
accent
#D45469
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82