#A257E3#A257E3
#A257E3 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.9% C 0.207 H 305.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A257E3 |
|---|---|
| RGB | rgb(162, 87, 227) |
| HSL | hsl(272, 71%, 62%) |
| HSV | hsv(272, 62%, 89%) |
| CMYK | cmyk(28.6%, 61.7%, 0%, 11%) |
| CIE-LAB | lab(51.89, 55.84, -59.45) |
| CIE-LCH | lch(51.89, 81.56, 313.20°) |
| OKLab | oklab(60.93% 0.1212 -0.1682) |
| OKLCH | oklch(60.93% 0.207 305.8) |
| XYZ | xyz(32.1706, 20.0441, 74.8323) |
| Luminance | 0.2004 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.07
Lighter Purple
#A55AF4
ΔE00 2.65
Purpley
#8756E4
ΔE00 5.13
Mediumorchid
#BA55D3
ΔE00 5.79
Amethyst
#9B5FC0
ΔE00 5.83
Mediumpurple
#9370DB
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A257E3 #98E357
analogous
#5C57E3 #A257E3 #E357DE
triadic
#A257E3 #E3A257 #57E3A2
tetradic
#A257E3 #E35C57 #98E357 #57DEE3
square
#A257E3 #E35C57 #98E357 #57DEE3
split-complementary
#A257E3 #DEE357 #57E35C
monochromatic
#651BA4 #8524D9 #A257E3 #BF8BEC #DCC0F4
Accessibility & contrast
On white
4.19
#A257E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#A257E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A257E3
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A257E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A257E3 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#387CE0
Tritanopia (blue-blind)
#977495
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a257e3; /* rgb */ color: rgb(162, 87, 227); /* oklch */ color: oklch(60.9% 0.207 305.8);
Tailwind
colors: {
custom: {
50: '#c28aec',
500: '#a257e3',
950: '#000000',
},
}SCSS
$custom: #a257e3; $custom-light: #c28aec; $custom-dark: #000000;
JSON
{
"hex": "#a257e3",
"rgb": {
"r": 162,
"g": 87,
"b": 227
},
"hsl": {
"h": 272.143,
"s": 71.429,
"l": 61.569
},
"oklch": {
"l": 0.60932,
"c": 0.20732,
"h": 305.8
},
"luminance": 0.20044
}Semantic roles & 50–950 ramp
primary
#A257E3
secondary
#C9E5B1
accent
#D3126C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84