#A246EF#A246EF
#A246EF is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.7% C 0.241 H 304.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A246EF |
|---|---|
| RGB | rgb(162, 70, 239) |
| HSL | hsl(273, 84%, 61%) |
| HSV | hsv(273, 71%, 94%) |
| CMYK | cmyk(32.2%, 70.7%, 0%, 6.3%) |
| CIE-LAB | lab(49.85, 66.40, -69.50) |
| CIE-LCH | lch(49.85, 96.12, 313.69°) |
| OKLab | oklab(59.72% 0.138 -0.1976) |
| OKLCH | oklch(59.72% 0.241 304.9) |
| XYZ | xyz(32.6669, 18.2939, 83.4547) |
| Luminance | 0.1829 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.68
Electric Purple
#AA23FF
ΔE00 3.89
Lighter Purple
#A55AF4
ΔE00 4.42
Neon Purple
#BC13FE
ΔE00 4.84
Bright Violet
#AD0AFD
ΔE00 5.03
Purpley
#8756E4
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A246EF #93EF46
analogous
#4D46EF #A246EF #EF46E7
triadic
#A246EF #EFA246 #46EFA2
tetradic
#A246EF #EF4D46 #93EF46 #46E7EF
square
#A246EF #EF4D46 #93EF46 #46E7EF
split-complementary
#A246EF #E7EF46 #46EF4D
monochromatic
#640FAC #8514E4 #A246EF #BE7EF4 #DBB7F9
Accessibility & contrast
On white
4.51
#A246EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#A246EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A246EF
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A246EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A246EF | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#946E96
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #a246ef; /* rgb */ color: rgb(162, 70, 239); /* oklch */ color: oklch(59.7% 0.241 304.9);
Tailwind
colors: {
custom: {
50: '#c381f5',
500: '#a246ef',
950: '#000000',
},
}SCSS
$custom: #a246ef; $custom-light: #c381f5; $custom-dark: #000000;
JSON
{
"hex": "#a246ef",
"rgb": {
"r": 162,
"g": 70,
"b": 239
},
"hsl": {
"h": 272.663,
"s": 84.08,
"l": 60.588
},
"oklch": {
"l": 0.59724,
"c": 0.24103,
"h": 304.9
},
"luminance": 0.18294
}Semantic roles & 50–950 ramp
primary
#A246EF
secondary
#C6E9A8
accent
#E10569
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85