#A25FE2#A25FE2
#A25FE2 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 62.0% C 0.195 H 305.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #A25FE2 |
|---|---|
| RGB | rgb(162, 95, 226) |
| HSL | hsl(271, 69%, 63%) |
| HSV | hsv(271, 58%, 89%) |
| CMYK | cmyk(28.3%, 58%, 0%, 11.4%) |
| CIE-LAB | lab(53.34, 51.54, -56.56) |
| CIE-LCH | lch(53.34, 76.52, 312.34°) |
| OKLab | oklab(61.97% 0.1117 -0.1597) |
| OKLCH | oklch(61.97% 0.195 305) |
| XYZ | xyz(32.7170, 21.3570, 74.3355) |
| Luminance | 0.2136 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.62
Lightish Purple
#A552E6
ΔE00 2.83
Mediumpurple
#9370DB
ΔE00 5.31
Amethyst
#9B5FC0
ΔE00 5.56
Light Urple
#B36FF6
ΔE00 5.75
Mediumorchid
#BA55D3
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A25FE2 #9FE25F
analogous
#605FE2 #A25FE2 #E25FE0
triadic
#A25FE2 #E2A25F #5FE2A2
tetradic
#A25FE2 #E2605F #9FE25F #5FE0E2
square
#A25FE2 #E2605F #9FE25F #5FE0E2
split-complementary
#A25FE2 #E0E25F #5FE260
monochromatic
#651EA8 #842BD9 #A25FE2 #C093EB #DEC7F5
Accessibility & contrast
On white
3.98
#A25FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#A25FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A25FE2
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A25FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A25FE2 | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#267DE6
Deuteranopia (green-blind)
#4480DF
Tritanopia (blue-blind)
#977998
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #a25fe2; /* rgb */ color: rgb(162, 95, 226); /* oklch */ color: oklch(62.0% 0.195 305.0);
Tailwind
colors: {
custom: {
50: '#c18fec',
500: '#a25fe2',
950: '#000000',
},
}SCSS
$custom: #a25fe2; $custom-light: #c18fec; $custom-dark: #000000;
JSON
{
"hex": "#a25fe2",
"rgb": {
"r": 162,
"g": 95,
"b": 226
},
"hsl": {
"h": 270.687,
"s": 69.312,
"l": 62.941
},
"oklch": {
"l": 0.61969,
"c": 0.1949,
"h": 305
},
"luminance": 0.21357
}Semantic roles & 50–950 ramp
primary
#A25FE2
secondary
#CEE6B7
accent
#D11471
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84