#A245B2#A245B2
#A245B2 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.6% C 0.183 H 321.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A245B2 |
|---|---|
| RGB | rgb(162, 69, 178) |
| HSL | hsl(291, 44%, 48%) |
| HSV | hsv(291, 61%, 70%) |
| CMYK | cmyk(9%, 61.2%, 0%, 30.2%) |
| CIE-LAB | lab(45.84, 54.06, -40.92) |
| CIE-LCH | lch(45.84, 67.80, 322.88°) |
| OKLab | oklab(55.62% 0.1433 -0.1139) |
| OKLCH | oklch(55.62% 0.183 321.5) |
| XYZ | xyz(25.0634, 15.1532, 43.7155) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.76
Medium Purple
#9E43A2
ΔE00 2.92
Ugly Purple
#A442A0
ΔE00 3.63
Barney
#AC1DB8
ΔE00 5.14
Darkorchid
#9932CC
ΔE00 6.32
Amethyst
#9B5FC0
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A245B2 #55B245
analogous
#6B45B2 #A245B2 #B2458B
triadic
#A245B2 #B2A245 #45B2A2
tetradic
#A245B2 #B26B45 #55B245 #458BB2
square
#A245B2 #B26B45 #55B245 #458BB2
split-complementary
#A245B2 #8BB245 #45B26B
monochromatic
#52235A #7A3486 #A245B2 #BA6EC7 #CF9AD8
Accessibility & contrast
On white
5.21
#A245B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#A245B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A245B2
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A245B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A245B2 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D66B5
Deuteranopia (green-blind)
#5170AF
Tritanopia (blue-blind)
#A45675
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a245b2; /* rgb */ color: rgb(162, 69, 178); /* oklch */ color: oklch(55.6% 0.183 321.5);
Tailwind
colors: {
custom: {
50: '#c07ec9',
500: '#a245b2',
950: '#000000',
},
}SCSS
$custom: #a245b2; $custom-light: #c07ec9; $custom-dark: #000000;
JSON
{
"hex": "#a245b2",
"rgb": {
"r": 162,
"g": 69,
"b": 178
},
"hsl": {
"h": 291.193,
"s": 44.13,
"l": 48.431
},
"oklch": {
"l": 0.55621,
"c": 0.18305,
"h": 321.5
},
"luminance": 0.15152
}Semantic roles & 50–950 ramp
primary
#A245B2
secondary
#97C48F
accent
#D45467
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82