#A246E2#A246E2
#A246E2 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.8% C 0.228 H 307.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A246E2 |
|---|---|
| RGB | rgb(162, 70, 226) |
| HSL | hsl(275, 73%, 58%) |
| HSV | hsv(275, 69%, 89%) |
| CMYK | cmyk(28.3%, 69%, 0%, 11.4%) |
| CIE-LAB | lab(48.95, 63.53, -63.62) |
| CIE-LCH | lch(48.95, 89.91, 314.96°) |
| OKLab | oklab(58.8% 0.1399 -0.1803) |
| OKLCH | oklch(58.8% 0.228 307.8) |
| XYZ | xyz(30.8151, 17.5531, 73.7015) |
| Luminance | 0.1755 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.80
Electric Purple
#AA23FF
ΔE00 4.60
Neon Purple
#BC13FE
ΔE00 5.30
Bright Violet
#AD0AFD
ΔE00 5.37
Lighter Purple
#A55AF4
ΔE00 5.40
Purpley
#8756E4
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A246E2 #86E246
analogous
#5446E2 #A246E2 #E246D4
triadic
#A246E2 #E2A246 #46E2A2
tetradic
#A246E2 #E25446 #86E246 #46D4E2
square
#A246E2 #E25446 #86E246 #46D4E2
split-complementary
#A246E2 #D4E246 #46E254
monochromatic
#621896 #8520CB #A246E2 #BD7BEA #D7B0F3
Accessibility & contrast
On white
4.66
#A246E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#A246E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A246E2
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A246E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A246E2 | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#1D75DF
Tritanopia (blue-blind)
#98698F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a246e2; /* rgb */ color: rgb(162, 70, 226); /* oklch */ color: oklch(58.8% 0.228 307.8);
Tailwind
colors: {
custom: {
50: '#c280ec',
500: '#a246e2',
950: '#000000',
},
}SCSS
$custom: #a246e2; $custom-light: #c280ec; $custom-dark: #000000;
JSON
{
"hex": "#a246e2",
"rgb": {
"r": 162,
"g": 70,
"b": 226
},
"hsl": {
"h": 275.385,
"s": 72.897,
"l": 58.039
},
"oklch": {
"l": 0.58799,
"c": 0.22825,
"h": 307.8
},
"luminance": 0.17553
}Semantic roles & 50–950 ramp
primary
#A246E2
secondary
#BCE1A3
accent
#F03883
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84