#A245E0#A245E0
#A245E0 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.6% C 0.227 H 308.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A245E0 |
|---|---|
| RGB | rgb(162, 69, 224) |
| HSL | hsl(276, 71%, 57%) |
| HSV | hsv(276, 69%, 88%) |
| CMYK | cmyk(27.7%, 69.2%, 0%, 12.2%) |
| CIE-LAB | lab(48.66, 63.53, -62.96) |
| CIE-LCH | lch(48.66, 89.44, 315.26°) |
| OKLab | oklab(58.55% 0.1412 -0.1784) |
| OKLCH | oklch(58.55% 0.227 308.4) |
| XYZ | xyz(30.4802, 17.3199, 72.2439) |
| Luminance | 0.1732 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.10
Electric Purple
#AA23FF
ΔE00 4.66
Darkorchid
#9932CC
ΔE00 5.29
Bright Violet
#AD0AFD
ΔE00 5.34
Neon Purple
#BC13FE
ΔE00 5.35
Bright Purple
#BE03FD
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A245E0 #83E045
analogous
#5445E0 #A245E0 #E045D1
triadic
#A245E0 #E0A245 #45E0A2
tetradic
#A245E0 #E05445 #83E045 #45D1E0
square
#A245E0 #E05445 #83E045 #45D1E0
split-complementary
#A245E0 #D1E045 #45E054
monochromatic
#611892 #8421C7 #A245E0 #BC79E9 #D6AEF1
Accessibility & contrast
On white
4.70
#A245E0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#A245E0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A245E0
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A245E0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A245E0 | 1.00 | 4.70 | 4.46 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E5
Deuteranopia (green-blind)
#1F75DD
Tritanopia (blue-blind)
#98688E
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a245e0; /* rgb */ color: rgb(162, 69, 224); /* oklch */ color: oklch(58.6% 0.227 308.4);
Tailwind
colors: {
custom: {
50: '#c280eb',
500: '#a245e0',
950: '#000000',
},
}SCSS
$custom: #a245e0; $custom-light: #c280eb; $custom-dark: #000000;
JSON
{
"hex": "#a245e0",
"rgb": {
"r": 162,
"g": 69,
"b": 224
},
"hsl": {
"h": 276,
"s": 71.429,
"l": 57.451
},
"oklch": {
"l": 0.5855,
"c": 0.22748,
"h": 308.4
},
"luminance": 0.17319
}Semantic roles & 50–950 ramp
primary
#A245E0
secondary
#BAE0A1
accent
#EE3A82
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84