#A25ED2#A25ED2
#A25ED2 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.9% C 0.178 H 309.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A25ED2 |
|---|---|
| RGB | rgb(162, 94, 210) |
| HSL | hsl(275, 56%, 60%) |
| HSV | hsv(275, 55%, 82%) |
| CMYK | cmyk(22.9%, 55.2%, 0%, 17.6%) |
| CIE-LAB | lab(52.22, 48.39, -49.28) |
| CIE-LCH | lch(52.22, 69.07, 314.48°) |
| OKLab | oklab(60.85% 0.1126 -0.1384) |
| OKLCH | oklch(60.85% 0.178 309.1) |
| XYZ | xyz(30.5336, 20.3404, 63.2779) |
| Luminance | 0.2034 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.10
Lightish Purple
#A552E6
ΔE00 3.82
Mediumorchid
#BA55D3
ΔE00 4.65
Lighter Purple
#A55AF4
ΔE00 5.06
Deep Lavender
#8D5EB7
ΔE00 5.58
Deep Lilac
#966EBD
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A25ED2 #8ED25E
analogous
#685ED2 #A25ED2 #D25EC8
triadic
#A25ED2 #D2A25E #5ED2A2
tetradic
#A25ED2 #D2685E #8ED25E #5EC8D2
square
#A25ED2 #D2685E #8ED25E #5EC8D2
split-complementary
#A25ED2 #C8D25E #5ED268
monochromatic
#64288E #8535BE #A25ED2 #BE8EDF #D9BEED
Accessibility & contrast
On white
4.14
#A25ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#A25ED2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A25ED2
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A25ED2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A25ED2 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#397AD6
Deuteranopia (green-blind)
#517ECF
Tritanopia (blue-blind)
#9B738F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a25ed2; /* rgb */ color: rgb(162, 94, 210); /* oklch */ color: oklch(60.9% 0.178 309.1);
Tailwind
colors: {
custom: {
50: '#c08ee0',
500: '#a25ed2',
950: '#000000',
},
}SCSS
$custom: #a25ed2; $custom-light: #c08ee0; $custom-dark: #000000;
JSON
{
"hex": "#a25ed2",
"rgb": {
"r": 162,
"g": 94,
"b": 210
},
"hsl": {
"h": 275.172,
"s": 56.311,
"l": 59.608
},
"oklch": {
"l": 0.60852,
"c": 0.17841,
"h": 309.1
},
"luminance": 0.2034
}Semantic roles & 50–950 ramp
primary
#A25ED2
secondary
#C2DCAF
accent
#E04887
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83