#A246BA#A246BA
#A246BA is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.2% C 0.189 H 318.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A246BA |
|---|---|
| RGB | rgb(162, 70, 186) |
| HSL | hsl(288, 46%, 50%) |
| HSV | hsv(288, 62%, 73%) |
| CMYK | cmyk(12.9%, 62.4%, 0%, 27.1%) |
| CIE-LAB | lab(46.46, 55.17, -44.63) |
| CIE-LCH | lch(46.46, 70.96, 321.03°) |
| OKLab | oklab(56.21% 0.1423 -0.1247) |
| OKLCH | oklch(56.21% 0.189 318.8) |
| XYZ | xyz(25.9522, 15.6080, 48.0905) |
| Luminance | 0.1561 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.89
Medium Purple
#9E43A2
ΔE00 4.34
Ugly Purple
#A442A0
ΔE00 5.07
Barney
#AC1DB8
ΔE00 5.36
Darkorchid
#9932CC
ΔE00 5.46
Amethyst
#9B5FC0
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A246BA #5EBA46
analogous
#6846BA #A246BA #BA4698
triadic
#A246BA #BAA246 #46BAA2
tetradic
#A246BA #BA6846 #5EBA46 #4698BA
square
#A246BA #BA6846 #5EBA46 #4698BA
split-complementary
#A246BA #98BA46 #46BA68
monochromatic
#552461 #7B358E #A246BA #B873CB #CF9FDB
Accessibility & contrast
On white
5.10
#A246BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#A246BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A246BA
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A246BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A246BA | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2568BE
Deuteranopia (green-blind)
#4D71B7
Tritanopia (blue-blind)
#A25A7A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a246ba; /* rgb */ color: rgb(162, 70, 186); /* oklch */ color: oklch(56.2% 0.189 318.8);
Tailwind
colors: {
custom: {
50: '#c17fcf',
500: '#a246ba',
950: '#000000',
},
}SCSS
$custom: #a246ba; $custom-light: #c17fcf; $custom-dark: #000000;
JSON
{
"hex": "#a246ba",
"rgb": {
"r": 162,
"g": 70,
"b": 186
},
"hsl": {
"h": 287.586,
"s": 45.669,
"l": 50.196
},
"oklch": {
"l": 0.5621,
"c": 0.1892,
"h": 318.8
},
"luminance": 0.15607
}Semantic roles & 50–950 ramp
primary
#A246BA
secondary
#9FC894
accent
#D5526E
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82