#A246E9#A246E9
#A246E9 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.3% C 0.235 H 306.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A246E9 |
|---|---|
| RGB | rgb(162, 70, 233) |
| HSL | hsl(274, 79%, 59%) |
| HSV | hsv(274, 70%, 91%) |
| CMYK | cmyk(30.5%, 70%, 0%, 8.6%) |
| CIE-LAB | lab(49.43, 65.07, -66.80) |
| CIE-LCH | lch(49.43, 93.25, 314.25°) |
| OKLab | oklab(59.29% 0.1389 -0.1897) |
| OKLCH | oklch(59.29% 0.235 306.2) |
| XYZ | xyz(31.7952, 17.9452, 78.8638) |
| Luminance | 0.1794 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.59
Electric Purple
#AA23FF
ΔE00 4.13
Lighter Purple
#A55AF4
ΔE00 4.82
Neon Purple
#BC13FE
ΔE00 4.97
Bright Violet
#AD0AFD
ΔE00 5.10
Purpley
#8756E4
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A246E9 #8DE946
analogous
#5146E9 #A246E9 #E946DF
triadic
#A246E9 #E9A246 #46E9A2
tetradic
#A246E9 #E95146 #8DE946 #46DFE9
square
#A246E9 #E95146 #8DE946 #46DFE9
split-complementary
#A246E9 #DFE946 #46E951
monochromatic
#6313A1 #851AD8 #A246E9 #BD7DF0 #D9B3F6
Accessibility & contrast
On white
4.58
#A246E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#A246E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A246E9
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A246E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A246E9 | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073EE
Deuteranopia (green-blind)
#0076E6
Tritanopia (blue-blind)
#966C93
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #a246e9; /* rgb */ color: rgb(162, 70, 233); /* oklch */ color: oklch(59.3% 0.235 306.2);
Tailwind
colors: {
custom: {
50: '#c381f1',
500: '#a246e9',
950: '#000000',
},
}SCSS
$custom: #a246e9; $custom-light: #c381f1; $custom-dark: #000000;
JSON
{
"hex": "#a246e9",
"rgb": {
"r": 162,
"g": 70,
"b": 233
},
"hsl": {
"h": 273.865,
"s": 78.744,
"l": 59.412
},
"oklch": {
"l": 0.59292,
"c": 0.23514,
"h": 306.2
},
"luminance": 0.17945
}Semantic roles & 50–950 ramp
primary
#A246E9
secondary
#C1E5A6
accent
#F53387
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85