#A845BE#A845BE
#A845BE is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.1% C 0.197 H 319.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A845BE |
|---|---|
| RGB | rgb(168, 69, 190) |
| HSL | hsl(289, 48%, 51%) |
| HSV | hsv(289, 64%, 75%) |
| CMYK | cmyk(11.6%, 63.7%, 0%, 25.5%) |
| CIE-LAB | lab(47.37, 57.85, -45.46) |
| CIE-LCH | lch(47.37, 73.57, 321.84°) |
| OKLab | oklab(57.12% 0.1508 -0.1269) |
| OKLCH | oklch(57.12% 0.197 319.9) |
| XYZ | xyz(27.5697, 16.3001, 50.3992) |
| Luminance | 0.1630 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.90
Medium Purple
#9E43A2
ΔE00 4.97
Ugly Purple
#A442A0
ΔE00 5.42
Barney
#AC1DB8
ΔE00 5.44
Darkorchid
#9932CC
ΔE00 5.84
Amethyst
#9B5FC0
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A845BE #5BBE45
analogous
#6B45BE #A845BE #BE4597
triadic
#A845BE #BEA845 #45BEA8
tetradic
#A845BE #BE6B45 #5BBE45 #4597BE
square
#A845BE #BE6B45 #5BBE45 #4597BE
split-complementary
#A845BE #97BE45 #45BE6B
monochromatic
#592365 #813393 #A845BE #BD72CE #D2A0DE
Accessibility & contrast
On white
4.93
#A845BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#A845BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A845BE
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A845BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A845BE | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#236AC2
Deuteranopia (green-blind)
#4F74BB
Tritanopia (blue-blind)
#A9597B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #a845be; /* rgb */ color: rgb(168, 69, 190); /* oklch */ color: oklch(57.1% 0.197 319.9);
Tailwind
colors: {
custom: {
50: '#c57fd2',
500: '#a845be',
950: '#000000',
},
}SCSS
$custom: #a845be; $custom-light: #c57fd2; $custom-dark: #000000;
JSON
{
"hex": "#a845be",
"rgb": {
"r": 168,
"g": 69,
"b": 190
},
"hsl": {
"h": 289.091,
"s": 48.207,
"l": 50.784
},
"oklch": {
"l": 0.57116,
"c": 0.19708,
"h": 319.9
},
"luminance": 0.16299
}Semantic roles & 50–950 ramp
primary
#A845BE
secondary
#9ECA95
accent
#D85069
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82