#A245BB#A245BB
#A245BB is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.1% C 0.192 H 318.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A245BB |
|---|---|
| RGB | rgb(162, 69, 187) |
| HSL | hsl(287, 46%, 50%) |
| HSV | hsv(287, 63%, 73%) |
| CMYK | cmyk(13.4%, 63.1%, 0%, 26.7%) |
| CIE-LAB | lab(46.35, 55.82, -45.38) |
| CIE-LCH | lch(46.35, 71.94, 320.89°) |
| OKLab | oklab(56.15% 0.1435 -0.1269) |
| OKLCH | oklch(56.15% 0.192 318.5) |
| XYZ | xyz(25.9968, 15.5266, 48.6316) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.79
Medium Purple
#9E43A2
ΔE00 4.48
Darkorchid
#9932CC
ΔE00 5.20
Barney
#AC1DB8
ΔE00 5.20
Ugly Purple
#A442A0
ΔE00 5.23
Amethyst
#9B5FC0
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A245BB #5EBB45
analogous
#6745BB #A245BB #BB4599
triadic
#A245BB #BBA245 #45BBA2
tetradic
#A245BB #BB6745 #5EBB45 #4599BB
square
#A245BB #BB6745 #5EBB45 #4599BB
split-complementary
#A245BB #99BB45 #45BB67
monochromatic
#552462 #7B348F #A245BB #B872CB #CF9FDC
Accessibility & contrast
On white
5.12
#A245BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#A245BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A245BB
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A245BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A245BB | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2268BF
Deuteranopia (green-blind)
#4B71B8
Tritanopia (blue-blind)
#A2597A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a245bb; /* rgb */ color: rgb(162, 69, 187); /* oklch */ color: oklch(56.1% 0.192 318.5);
Tailwind
colors: {
custom: {
50: '#c17fd0',
500: '#a245bb',
950: '#000000',
},
}SCSS
$custom: #a245bb; $custom-light: #c17fd0; $custom-dark: #000000;
JSON
{
"hex": "#a245bb",
"rgb": {
"r": 162,
"g": 69,
"b": 187
},
"hsl": {
"h": 287.288,
"s": 46.457,
"l": 50.196
},
"oklch": {
"l": 0.56149,
"c": 0.19157,
"h": 318.5
},
"luminance": 0.15525
}Semantic roles & 50–950 ramp
primary
#A245BB
secondary
#9FC894
accent
#D6526E
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82