#A25CD9#A25CD9
#A25CD9 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 61.0% C 0.189 H 307.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A25CD9 |
|---|---|
| RGB | rgb(162, 92, 217) |
| HSL | hsl(274, 62%, 61%) |
| HSV | hsv(274, 58%, 85%) |
| CMYK | cmyk(25.3%, 57.6%, 0%, 14.9%) |
| CIE-LAB | lab(52.23, 51.02, -53.25) |
| CIE-LCH | lch(52.23, 73.74, 313.77°) |
| OKLab | oklab(60.99% 0.1154 -0.15) |
| OKLCH | oklch(60.99% 0.189 307.6) |
| XYZ | xyz(31.2493, 20.3458, 67.9131) |
| Luminance | 0.2034 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.69
Lighter Purple
#A55AF4
ΔE00 3.90
Amethyst
#9B5FC0
ΔE00 4.20
Mediumorchid
#BA55D3
ΔE00 4.98
Purpley
#8756E4
ΔE00 6.06
Mediumpurple
#9370DB
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A25CD9 #93D95C
analogous
#635CD9 #A25CD9 #D95CD1
triadic
#A25CD9 #D9A25C #5CD9A2
tetradic
#A25CD9 #D9635C #93D95C #5CD1D9
square
#A25CD9 #D9635C #93D95C #5CD1D9
split-complementary
#A25CD9 #D1D95C #5CD963
monochromatic
#642397 #852FC9 #A25CD9 #BE8EE5 #DBBFF0
Accessibility & contrast
On white
4.14
#A25CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#A25CD9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A25CD9
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A25CD9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A25CD9 | 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)
#2C7ADD
Deuteranopia (green-blind)
#497DD6
Tritanopia (blue-blind)
#9A7492
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a25cd9; /* rgb */ color: rgb(162, 92, 217); /* oklch */ color: oklch(61.0% 0.189 307.6);
Tailwind
colors: {
custom: {
50: '#c18de5',
500: '#a25cd9',
950: '#000000',
},
}SCSS
$custom: #a25cd9; $custom-light: #c18de5; $custom-dark: #000000;
JSON
{
"hex": "#a25cd9",
"rgb": {
"r": 162,
"g": 92,
"b": 217
},
"hsl": {
"h": 273.6,
"s": 62.189,
"l": 60.588
},
"oklch": {
"l": 0.60985,
"c": 0.18923,
"h": 307.6
},
"luminance": 0.20345
}Semantic roles & 50–950 ramp
primary
#A25CD9
secondary
#C6E0B1
accent
#CA1C68
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84