#A245CD#A245CD
#A245CD is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.3% C 0.209 H 313.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A245CD |
|---|---|
| RGB | rgb(162, 69, 205) |
| HSL | hsl(281, 58%, 54%) |
| HSV | hsv(281, 66%, 80%) |
| CMYK | cmyk(21%, 66.3%, 0%, 19.6%) |
| CIE-LAB | lab(47.43, 59.49, -54.09) |
| CIE-LCH | lch(47.43, 80.40, 317.72°) |
| OKLab | oklab(57.27% 0.143 -0.1524) |
| OKLCH | oklch(57.27% 0.209 313.2) |
| XYZ | xyz(28.0459, 16.3462, 59.4235) |
| Luminance | 0.1635 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.23
Purply
#983FB2
ΔE00 4.79
Lightish Purple
#A552E6
ΔE00 5.03
Vibrant Purple
#AD03DE
ΔE00 5.79
Amethyst
#9B5FC0
ΔE00 6.18
Barney
#AC1DB8
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A245CD #70CD45
analogous
#5E45CD #A245CD #CD45B4
triadic
#A245CD #CDA245 #45CDA2
tetradic
#A245CD #CD5E45 #70CD45 #45B4CD
square
#A245CD #CD5E45 #70CD45 #45B4CD
split-complementary
#A245CD #B4CD45 #45CD5E
monochromatic
#5C2077 #812DA8 #A245CD #BA75DA #D2A5E7
Accessibility & contrast
On white
4.92
#A245CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#A245CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A245CD
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A245CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A245CD | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#9E6083
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #a245cd; /* rgb */ color: rgb(162, 69, 205); /* oklch */ color: oklch(57.3% 0.209 313.2);
Tailwind
colors: {
custom: {
50: '#c17fdd',
500: '#a245cd',
950: '#000000',
},
}SCSS
$custom: #a245cd; $custom-light: #c17fdd; $custom-dark: #000000;
JSON
{
"hex": "#a245cd",
"rgb": {
"r": 162,
"g": 69,
"b": 205
},
"hsl": {
"h": 281.029,
"s": 57.627,
"l": 53.725
},
"oklch": {
"l": 0.57273,
"c": 0.20893,
"h": 313.2
},
"luminance": 0.16345
}Semantic roles & 50–950 ramp
primary
#A245CD
secondary
#ACD49A
accent
#E14778
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83