#A246D2#A246D2
#A246D2 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.7% C 0.213 H 311.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A246D2 |
|---|---|
| RGB | rgb(162, 70, 210) |
| HSL | hsl(279, 61%, 55%) |
| HSV | hsv(279, 67%, 82%) |
| CMYK | cmyk(22.9%, 66.7%, 0%, 17.6%) |
| CIE-LAB | lab(47.90, 60.10, -56.20) |
| CIE-LCH | lch(47.90, 82.28, 316.92°) |
| OKLab | oklab(57.71% 0.1415 -0.1585) |
| OKLCH | oklch(57.71% 0.213 311.8) |
| XYZ | xyz(28.7212, 16.7156, 62.6737) |
| Luminance | 0.1671 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.27
Darkorchid
#9932CC
ΔE00 4.52
Purply
#983FB2
ΔE00 5.57
Vibrant Purple
#AD03DE
ΔE00 5.86
Amethyst
#9B5FC0
ΔE00 6.22
Electric Purple
#AA23FF
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A246D2 #76D246
analogous
#5C46D2 #A246D2 #D246BC
triadic
#A246D2 #D2A246 #46D2A2
tetradic
#A246D2 #D25C46 #76D246 #46BCD2
square
#A246D2 #D25C46 #76D246 #46BCD2
split-complementary
#A246D2 #BCD246 #46D25C
monochromatic
#5E1F7F #822BB0 #A246D2 #BB77DE #D3A8EA
Accessibility & contrast
On white
4.84
#A246D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#A246D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A246D2
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A246D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A246D2 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#3773CF
Tritanopia (blue-blind)
#9C6386
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #a246d2; /* rgb */ color: rgb(162, 70, 210); /* oklch */ color: oklch(57.7% 0.213 311.8);
Tailwind
colors: {
custom: {
50: '#c280e0',
500: '#a246d2',
950: '#000000',
},
}SCSS
$custom: #a246d2; $custom-light: #c280e0; $custom-dark: #000000;
JSON
{
"hex": "#a246d2",
"rgb": {
"r": 162,
"g": 70,
"b": 210
},
"hsl": {
"h": 279.429,
"s": 60.87,
"l": 54.902
},
"oklch": {
"l": 0.57714,
"c": 0.21252,
"h": 311.8
},
"luminance": 0.16715
}Semantic roles & 50–950 ramp
primary
#A246D2
secondary
#B1D79C
accent
#E4447B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83