#A25EC2#A25EC2
#A25EC2 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 59.9% C 0.161 H 313.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A25EC2 |
|---|---|
| RGB | rgb(162, 94, 194) |
| HSL | hsl(281, 45%, 56%) |
| HSV | hsv(281, 52%, 76%) |
| CMYK | cmyk(16.5%, 51.5%, 0%, 23.9%) |
| CIE-LAB | lab(51.36, 44.85, -41.48) |
| CIE-LCH | lch(51.36, 61.09, 317.24°) |
| OKLab | oklab(59.94% 0.1114 -0.1157) |
| OKLCH | oklch(59.94% 0.161 313.9) |
| XYZ | xyz(28.6390, 19.5826, 53.2996) |
| Luminance | 0.1958 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.43
Deep Lavender
#8D5EB7
ΔE00 4.44
Mediumorchid
#BA55D3
ΔE00 4.77
Deep Lilac
#966EBD
ΔE00 5.27
Lightish Purple
#A552E6
ΔE00 6.24
Soft Purple
#A66FB5
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A25EC2 #7EC25E
analogous
#705EC2 #A25EC2 #C25EB0
triadic
#A25EC2 #C2A25E #5EC2A2
tetradic
#A25EC2 #C2705E #7EC25E #5EB0C2
square
#A25EC2 #C2705E #7EC25E #5EB0C2
split-complementary
#A25EC2 #B0C25E #5EC270
monochromatic
#602E78 #843EA4 #A25EC2 #BC8AD3 #D5B7E4
Accessibility & contrast
On white
4.27
#A25EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#A25EC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A25EC2
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A25EC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A25EC2 | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4777C5
Deuteranopia (green-blind)
#5C7CBF
Tritanopia (blue-blind)
#9F6E87
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a25ec2; /* rgb */ color: rgb(162, 94, 194); /* oklch */ color: oklch(59.9% 0.161 313.9);
Tailwind
colors: {
custom: {
50: '#c08ed5',
500: '#a25ec2',
950: '#000000',
},
}SCSS
$custom: #a25ec2; $custom-light: #c08ed5; $custom-dark: #000000;
JSON
{
"hex": "#a25ec2",
"rgb": {
"r": 162,
"g": 94,
"b": 194
},
"hsl": {
"h": 280.8,
"s": 45.045,
"l": 56.471
},
"oklch": {
"l": 0.59942,
"c": 0.16058,
"h": 313.9
},
"luminance": 0.19582
}Semantic roles & 50–950 ramp
primary
#A25EC2
secondary
#B7D2A9
accent
#D5537D
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#120C14
muted
#817D83