#A25CDE#A25CDE
#A25CDE is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.3% C 0.195 H 306.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A25CDE |
|---|---|
| RGB | rgb(162, 92, 222) |
| HSL | hsl(272, 66%, 62%) |
| HSV | hsv(272, 59%, 87%) |
| CMYK | cmyk(27%, 58.6%, 0%, 12.9%) |
| CIE-LAB | lab(52.52, 52.16, -55.61) |
| CIE-LCH | lch(52.52, 76.25, 313.17°) |
| OKLab | oklab(61.3% 0.1154 -0.1569) |
| OKLCH | oklch(61.3% 0.195 306.3) |
| XYZ | xyz(31.9095, 20.6099, 71.3902) |
| Luminance | 0.2061 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.29
Lighter Purple
#A55AF4
ΔE00 3.13
Amethyst
#9B5FC0
ΔE00 4.95
Mediumorchid
#BA55D3
ΔE00 5.37
Purpley
#8756E4
ΔE00 5.74
Mediumpurple
#9370DB
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A25CDE #98DE5C
analogous
#615CDE #A25CDE #DE5CD9
triadic
#A25CDE #DEA25C #5CDEA2
tetradic
#A25CDE #DE615C #98DE5C #5CD9DE
square
#A25CDE #DE615C #98DE5C #5CD9DE
split-complementary
#A25CDE #D9DE5C #5CDE61
monochromatic
#65209F #852BD2 #A25CDE #BF8FE8 #DCC2F3
Accessibility & contrast
On white
4.10
#A25CDE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#A25CDE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A25CDE
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A25CDE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A25CDE | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#247BE2
Deuteranopia (green-blind)
#447EDB
Tritanopia (blue-blind)
#987594
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a25cde; /* rgb */ color: rgb(162, 92, 222); /* oklch */ color: oklch(61.3% 0.195 306.3);
Tailwind
colors: {
custom: {
50: '#c18de9',
500: '#a25cde',
950: '#000000',
},
}SCSS
$custom: #a25cde; $custom-light: #c18de9; $custom-dark: #000000;
JSON
{
"hex": "#a25cde",
"rgb": {
"r": 162,
"g": 92,
"b": 222
},
"hsl": {
"h": 272.308,
"s": 66.327,
"l": 61.569
},
"oklch": {
"l": 0.61295,
"c": 0.19478,
"h": 306.3
},
"luminance": 0.2061
}Semantic roles & 50–950 ramp
primary
#A25CDE
secondary
#C9E3B3
accent
#CE176C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84