#A245F0#A245F0
#A245F0 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.7% C 0.243 H 304.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A245F0 |
|---|---|
| RGB | rgb(162, 69, 240) |
| HSL | hsl(273, 85%, 61%) |
| HSV | hsv(273, 71%, 94%) |
| CMYK | cmyk(32.5%, 71.3%, 0%, 5.9%) |
| CIE-LAB | lab(49.77, 67.04, -70.18) |
| CIE-LCH | lch(49.77, 97.06, 313.69°) |
| OKLab | oklab(59.69% 0.1388 -0.1996) |
| OKLCH | oklch(59.69% 0.243 304.8) |
| XYZ | xyz(32.7530, 18.2291, 84.2142) |
| Luminance | 0.1823 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.86
Electric Purple
#AA23FF
ΔE00 3.71
Lighter Purple
#A55AF4
ΔE00 4.55
Neon Purple
#BC13FE
ΔE00 4.73
Bright Violet
#AD0AFD
ΔE00 4.87
Bright Purple
#BE03FD
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A245F0 #93F045
analogous
#4C45F0 #A245F0 #F045E8
triadic
#A245F0 #F0A245 #45F0A2
tetradic
#A245F0 #F04C45 #93F045 #45E8F0
square
#A245F0 #F04C45 #93F045 #45E8F0
split-complementary
#A245F0 #E8F045 #45F04C
monochromatic
#640EAD #8512E5 #A245F0 #BE7EF5 #DBB6F9
Accessibility & contrast
On white
4.52
#A245F0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#A245F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A245F0
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A245F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A245F0 | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F5
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#936E97
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a245f0; /* rgb */ color: rgb(162, 69, 240); /* oklch */ color: oklch(59.7% 0.243 304.8);
Tailwind
colors: {
custom: {
50: '#c380f6',
500: '#a245f0',
950: '#000000',
},
}SCSS
$custom: #a245f0; $custom-light: #c380f6; $custom-dark: #000000;
JSON
{
"hex": "#a245f0",
"rgb": {
"r": 162,
"g": 69,
"b": 240
},
"hsl": {
"h": 272.632,
"s": 85.075,
"l": 60.588
},
"oklch": {
"l": 0.59691,
"c": 0.24314,
"h": 304.8
},
"luminance": 0.18229
}Semantic roles & 50–950 ramp
primary
#A245F0
secondary
#C6E9A8
accent
#E20469
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85