#A25AF2#A25AF2
#A25AF2 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.3% C 0.220 H 302.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A25AF2 |
|---|---|
| RGB | rgb(162, 90, 242) |
| HSL | hsl(268, 85%, 65%) |
| HSV | hsv(268, 63%, 95%) |
| CMYK | cmyk(33.1%, 62.8%, 0%, 5.1%) |
| CIE-LAB | lab(53.39, 57.85, -65.45) |
| CIE-LCH | lch(53.39, 87.35, 311.47°) |
| OKLab | oklab(62.32% 0.117 -0.1858) |
| OKLCH | oklch(62.32% 0.22 302.2) |
| XYZ | xyz(34.5797, 21.4044, 86.2969) |
| Luminance | 0.2140 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 0.57
Lightish Purple
#A552E6
ΔE00 2.68
Purpley
#8756E4
ΔE00 5.40
Light Urple
#B36FF6
ΔE00 6.08
Mediumpurple
#9370DB
ΔE00 6.55
Bright Lavender
#C760FF
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A25AF2 #AAF25A
analogous
#5A5EF2 #A25AF2 #EE5AF2
triadic
#A25AF2 #F2A25A #5AF2A2
tetradic
#A25AF2 #F25A5E #AAF25A #5AF2EE
square
#A25AF2 #F25A5E #AAF25A #5AF2EE
split-complementary
#A25AF2 #F2EE5A #5EF25A
monochromatic
#640FC2 #8221EE #A25AF2 #C293F6 #E2CBFB
Accessibility & contrast
On white
3.98
#A25AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#A25AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A25AF2
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A25AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A25AF2 | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#257FEF
Tritanopia (blue-blind)
#927B9E
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #a25af2; /* rgb */ color: rgb(162, 90, 242); /* oklch */ color: oklch(62.3% 0.220 302.2);
Tailwind
colors: {
custom: {
50: '#c28cf7',
500: '#a25af2',
950: '#000000',
},
}SCSS
$custom: #a25af2; $custom-light: #c28cf7; $custom-dark: #000000;
JSON
{
"hex": "#a25af2",
"rgb": {
"r": 162,
"g": 90,
"b": 242
},
"hsl": {
"h": 268.421,
"s": 85.393,
"l": 65.098
},
"oklch": {
"l": 0.62324,
"c": 0.21957,
"h": 302.2
},
"luminance": 0.21405
}Semantic roles & 50–950 ramp
primary
#A25AF2
secondary
#D5EEBA
accent
#E20479
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85