#A25CD7#A25CD7
#A25CD7 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.9% C 0.187 H 308.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A25CD7 |
|---|---|
| RGB | rgb(162, 92, 215) |
| HSL | hsl(274, 61%, 60%) |
| HSV | hsv(274, 57%, 84%) |
| CMYK | cmyk(24.7%, 57.2%, 0%, 15.7%) |
| CIE-LAB | lab(52.11, 50.56, -52.30) |
| CIE-LCH | lch(52.11, 72.74, 314.03°) |
| OKLab | oklab(60.86% 0.1153 -0.1472) |
| OKLCH | oklch(60.86% 0.187 308.1) |
| XYZ | xyz(30.9907, 20.2424, 66.5514) |
| Luminance | 0.2024 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.90
Amethyst
#9B5FC0
ΔE00 3.90
Lighter Purple
#A55AF4
ΔE00 4.22
Mediumorchid
#BA55D3
ΔE00 4.85
Deep Lavender
#8D5EB7
ΔE00 6.11
Purpley
#8756E4
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A25CD7 #91D75C
analogous
#645CD7 #A25CD7 #D75CCF
triadic
#A25CD7 #D7A25C #5CD7A2
tetradic
#A25CD7 #D7645C #91D75C #5CCFD7
square
#A25CD7 #D7645C #91D75C #5CCFD7
split-complementary
#A25CD7 #CFD75C #5CD764
monochromatic
#642494 #8530C5 #A25CD7 #BE8DE3 #DABEEF
Accessibility & contrast
On white
4.16
#A25CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#A25CD7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A25CD7
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A25CD7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A25CD7 | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F7ADB
Deuteranopia (green-blind)
#4B7DD4
Tritanopia (blue-blind)
#9A7391
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a25cd7; /* rgb */ color: rgb(162, 92, 215); /* oklch */ color: oklch(60.9% 0.187 308.1);
Tailwind
colors: {
custom: {
50: '#c18de4',
500: '#a25cd7',
950: '#000000',
},
}SCSS
$custom: #a25cd7; $custom-light: #c18de4; $custom-dark: #000000;
JSON
{
"hex": "#a25cd7",
"rgb": {
"r": 162,
"g": 92,
"b": 215
},
"hsl": {
"h": 274.146,
"s": 60.591,
"l": 60.196
},
"oklch": {
"l": 0.60863,
"c": 0.18701,
"h": 308.1
},
"luminance": 0.20242
}Semantic roles & 50–950 ramp
primary
#A25CD7
secondary
#C4DFB0
accent
#C81D67
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84