#A246B7#A246B7
#A246B7 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.0% C 0.186 H 319.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A246B7 |
|---|---|
| RGB | rgb(162, 70, 183) |
| HSL | hsl(289, 45%, 50%) |
| HSV | hsv(289, 62%, 72%) |
| CMYK | cmyk(11.5%, 61.7%, 0%, 28.2%) |
| CIE-LAB | lab(46.29, 54.58, -43.14) |
| CIE-LCH | lch(46.29, 69.57, 321.67°) |
| OKLab | oklab(56.03% 0.1422 -0.1203) |
| OKLCH | oklch(56.03% 0.186 319.8) |
| XYZ | xyz(25.6366, 15.4818, 46.4284) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.80
Medium Purple
#9E43A2
ΔE00 3.82
Ugly Purple
#A442A0
ΔE00 4.54
Barney
#AC1DB8
ΔE00 5.30
Darkorchid
#9932CC
ΔE00 5.80
Amethyst
#9B5FC0
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A246B7 #5BB746
analogous
#6A46B7 #A246B7 #B74693
triadic
#A246B7 #B7A246 #46B7A2
tetradic
#A246B7 #B76A46 #5BB746 #4693B7
square
#A246B7 #B76A46 #5BB746 #4693B7
split-complementary
#A246B7 #93B746 #46B76A
monochromatic
#54245E #7B358B #A246B7 #B971C9 #CF9EDA
Accessibility & contrast
On white
5.13
#A246B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#A246B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A246B7
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A246B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A246B7 | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2967BA
Deuteranopia (green-blind)
#4F71B4
Tritanopia (blue-blind)
#A35878
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a246b7; /* rgb */ color: rgb(162, 70, 183); /* oklch */ color: oklch(56.0% 0.186 319.8);
Tailwind
colors: {
custom: {
50: '#c07fcd',
500: '#a246b7',
950: '#000000',
},
}SCSS
$custom: #a246b7; $custom-light: #c07fcd; $custom-dark: #000000;
JSON
{
"hex": "#a246b7",
"rgb": {
"r": 162,
"g": 70,
"b": 183
},
"hsl": {
"h": 288.85,
"s": 44.664,
"l": 49.608
},
"oklch": {
"l": 0.56033,
"c": 0.18633,
"h": 319.8
},
"luminance": 0.15481
}Semantic roles & 50–950 ramp
primary
#A246B7
secondary
#9CC693
accent
#D4536B
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A13
muted
#827C82