#A246E0#A246E0
#A246E0 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.7% C 0.226 H 308.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A246E0 |
|---|---|
| RGB | rgb(162, 70, 224) |
| HSL | hsl(276, 71%, 58%) |
| HSV | hsv(276, 69%, 88%) |
| CMYK | cmyk(27.7%, 68.8%, 0%, 12.2%) |
| CIE-LAB | lab(48.81, 63.10, -62.71) |
| CIE-LCH | lch(48.81, 88.96, 315.18°) |
| OKLab | oklab(58.66% 0.1402 -0.1777) |
| OKLCH | oklch(58.66% 0.226 308.3) |
| XYZ | xyz(30.5422, 17.4440, 72.2646) |
| Luminance | 0.1744 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.92
Electric Purple
#AA23FF
ΔE00 4.77
Neon Purple
#BC13FE
ΔE00 5.42
Darkorchid
#9932CC
ΔE00 5.45
Bright Violet
#AD0AFD
ΔE00 5.48
Purpley
#8756E4
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A246E0 #84E046
analogous
#5546E0 #A246E0 #E046D1
triadic
#A246E0 #E0A246 #46E0A2
tetradic
#A246E0 #E05546 #84E046 #46D1E0
square
#A246E0 #E05546 #84E046 #46D1E0
split-complementary
#A246E0 #D1E046 #46E055
monochromatic
#621993 #8521C7 #A246E0 #BC7AE9 #D7AFF2
Accessibility & contrast
On white
4.68
#A246E0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#A246E0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A246E0
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A246E0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A246E0 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E5
Deuteranopia (green-blind)
#2175DD
Tritanopia (blue-blind)
#98688E
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a246e0; /* rgb */ color: rgb(162, 70, 224); /* oklch */ color: oklch(58.7% 0.226 308.3);
Tailwind
colors: {
custom: {
50: '#c280eb',
500: '#a246e0',
950: '#000000',
},
}SCSS
$custom: #a246e0; $custom-light: #c280eb; $custom-dark: #000000;
JSON
{
"hex": "#a246e0",
"rgb": {
"r": 162,
"g": 70,
"b": 224
},
"hsl": {
"h": 275.844,
"s": 71.296,
"l": 57.647
},
"oklch": {
"l": 0.5866,
"c": 0.22629,
"h": 308.3
},
"luminance": 0.17444
}Semantic roles & 50–950 ramp
primary
#A246E0
secondary
#BBE0A2
accent
#EE3A82
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84