#A25CDC#A25CDC
#A25CDC is a mid, vivid violet. Relative luminance 0.205; OKLCH L 61.2% C 0.193 H 306.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A25CDC |
|---|---|
| RGB | rgb(162, 92, 220) |
| HSL | hsl(273, 65%, 61%) |
| HSV | hsv(273, 58%, 86%) |
| CMYK | cmyk(26.4%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(52.40, 51.70, -54.67) |
| CIE-LCH | lch(52.40, 75.25, 313.40°) |
| OKLab | oklab(61.17% 0.1154 -0.1542) |
| OKLCH | oklch(61.17% 0.193 306.8) |
| XYZ | xyz(31.6430, 20.5033, 69.9868) |
| Luminance | 0.2050 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.43
Lighter Purple
#A55AF4
ΔE00 3.43
Amethyst
#9B5FC0
ΔE00 4.65
Mediumorchid
#BA55D3
ΔE00 5.20
Purpley
#8756E4
ΔE00 5.86
Mediumpurple
#9370DB
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A25CDC #96DC5C
analogous
#625CDC #A25CDC #DC5CD6
triadic
#A25CDC #DCA25C #5CDCA2
tetradic
#A25CDC #DC625C #96DC5C #5CD6DC
square
#A25CDC #DC625C #96DC5C #5CD6DC
split-complementary
#A25CDC #D6DC5C #5CDC62
monochromatic
#65229C #852CCE #A25CDC #BF8EE7 #DBC1F2
Accessibility & contrast
On white
4.12
#A25CDC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#A25CDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A25CDC
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A25CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A25CDC | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#287BE0
Deuteranopia (green-blind)
#467ED9
Tritanopia (blue-blind)
#997593
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a25cdc; /* rgb */ color: rgb(162, 92, 220); /* oklch */ color: oklch(61.2% 0.193 306.8);
Tailwind
colors: {
custom: {
50: '#c18de7',
500: '#a25cdc',
950: '#000000',
},
}SCSS
$custom: #a25cdc; $custom-light: #c18de7; $custom-dark: #000000;
JSON
{
"hex": "#a25cdc",
"rgb": {
"r": 162,
"g": 92,
"b": 220
},
"hsl": {
"h": 272.813,
"s": 64.646,
"l": 61.176
},
"oklch": {
"l": 0.6117,
"c": 0.19256,
"h": 306.8
},
"luminance": 0.20503
}Semantic roles & 50–950 ramp
primary
#A25CDC
secondary
#C8E2B2
accent
#CC196A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84