#A25CDB#A25CDB
#A25CDB is a mid, vivid violet. Relative luminance 0.204; OKLCH L 61.1% C 0.191 H 307.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A25CDB |
|---|---|
| RGB | rgb(162, 92, 219) |
| HSL | hsl(273, 64%, 61%) |
| HSV | hsv(273, 58%, 86%) |
| CMYK | cmyk(26%, 58%, 0%, 14.1%) |
| CIE-LAB | lab(52.34, 51.47, -54.20) |
| CIE-LCH | lch(52.34, 74.75, 313.52°) |
| OKLab | oklab(61.11% 0.1154 -0.1528) |
| OKLCH | oklch(61.11% 0.191 307.1) |
| XYZ | xyz(31.5110, 20.4505, 69.2914) |
| Luminance | 0.2045 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.51
Lighter Purple
#A55AF4
ΔE00 3.59
Amethyst
#9B5FC0
ΔE00 4.50
Mediumorchid
#BA55D3
ΔE00 5.13
Purpley
#8756E4
ΔE00 5.92
Mediumpurple
#9370DB
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A25CDB #95DB5C
analogous
#625CDB #A25CDB #DB5CD4
triadic
#A25CDB #DBA25C #5CDBA2
tetradic
#A25CDB #DB625C #95DB5C #5CD4DB
square
#A25CDB #DB625C #95DB5C #5CD4DB
split-complementary
#A25CDB #D4DB5C #5CDB62
monochromatic
#64229A #852DCD #A25CDB #BF8EE6 #DBC0F1
Accessibility & contrast
On white
4.13
#A25CDB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#A25CDB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A25CDB
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A25CDB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A25CDB | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#297ADF
Deuteranopia (green-blind)
#477DD8
Tritanopia (blue-blind)
#997493
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a25cdb; /* rgb */ color: rgb(162, 92, 219); /* oklch */ color: oklch(61.1% 0.191 307.1);
Tailwind
colors: {
custom: {
50: '#c18de7',
500: '#a25cdb',
950: '#000000',
},
}SCSS
$custom: #a25cdb; $custom-light: #c18de7; $custom-dark: #000000;
JSON
{
"hex": "#a25cdb",
"rgb": {
"r": 162,
"g": 92,
"b": 219
},
"hsl": {
"h": 273.071,
"s": 63.819,
"l": 60.98
},
"oklch": {
"l": 0.61108,
"c": 0.19145,
"h": 307.1
},
"luminance": 0.2045
}Semantic roles & 50–950 ramp
primary
#A25CDB
secondary
#C7E1B1
accent
#CC1A6A
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84