#A257BB#A257BB
#A257BB is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.5% C 0.164 H 317.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #A257BB |
|---|---|
| RGB | rgb(162, 87, 187) |
| HSL | hsl(285, 42%, 54%) |
| HSV | hsv(285, 53%, 73%) |
| CMYK | cmyk(13.4%, 53.5%, 0%, 26.7%) |
| CIE-LAB | lab(49.60, 47.04, -40.22) |
| CIE-LCH | lch(49.60, 61.89, 319.47°) |
| OKLab | oklab(58.53% 0.1203 -0.112) |
| OKLCH | oklch(58.53% 0.164 317.1) |
| XYZ | xyz(27.2768, 18.0866, 49.0583) |
| Luminance | 0.1809 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.69
Deep Lavender
#8D5EB7
ΔE00 4.62
Mediumorchid
#BA55D3
ΔE00 5.32
Purply
#983FB2
ΔE00 6.38
Medium Purple
#9E43A2
ΔE00 6.44
Ugly Purple
#A442A0
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A257BB #70BB57
analogous
#7057BB #A257BB #BB57A2
triadic
#A257BB #BBA257 #57BBA2
tetradic
#A257BB #BB7057 #70BB57 #57A2BB
square
#A257BB #BB7057 #70BB57 #57A2BB
split-complementary
#A257BB #A2BB57 #57BB70
monochromatic
#5C2C6C #813D97 #A257BB #BA83CD #D2AEDE
Accessibility & contrast
On white
4.55
#A257BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#A257BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A257BB
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A257BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A257BB | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4171BE
Deuteranopia (green-blind)
#5A78B8
Tritanopia (blue-blind)
#A16681
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a257bb; /* rgb */ color: rgb(162, 87, 187); /* oklch */ color: oklch(58.5% 0.164 317.1);
Tailwind
colors: {
custom: {
50: '#c089d0',
500: '#a257bb',
950: '#000000',
},
}SCSS
$custom: #a257bb; $custom-light: #c089d0; $custom-dark: #000000;
JSON
{
"hex": "#a257bb",
"rgb": {
"r": 162,
"g": 87,
"b": 187
},
"hsl": {
"h": 285,
"s": 42.373,
"l": 53.725
},
"oklch": {
"l": 0.58525,
"c": 0.16435,
"h": 317.1
},
"luminance": 0.18086
}Semantic roles & 50–950 ramp
primary
#A257BB
secondary
#ACCCA2
accent
#D25675
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82