#A246B1#A246B1
#A246B1 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.7% C 0.181 H 321.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A246B1 |
|---|---|
| RGB | rgb(162, 70, 177) |
| HSL | hsl(292, 43%, 48%) |
| HSV | hsv(292, 60%, 69%) |
| CMYK | cmyk(8.5%, 60.5%, 0%, 30.6%) |
| CIE-LAB | lab(45.96, 53.41, -40.15) |
| CIE-LCH | lch(45.96, 66.82, 323.07°) |
| OKLab | oklab(55.69% 0.142 -0.1116) |
| OKLCH | oklch(55.69% 0.181 321.8) |
| XYZ | xyz(25.0254, 15.2373, 43.2094) |
| Luminance | 0.1524 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.79
Purply
#983FB2
ΔE00 2.97
Ugly Purple
#A442A0
ΔE00 3.47
Barney
#AC1DB8
ΔE00 5.36
Darkorchid
#9932CC
ΔE00 6.59
Amethyst
#9B5FC0
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A246B1 #55B146
analogous
#6C46B1 #A246B1 #B1468A
triadic
#A246B1 #B1A246 #46B1A2
tetradic
#A246B1 #B16C46 #55B146 #468AB1
square
#A246B1 #B16C46 #55B146 #468AB1
split-complementary
#A246B1 #8AB146 #46B16C
monochromatic
#522359 #7A3585 #A246B1 #BA6EC6 #CF9AD7
Accessibility & contrast
On white
5.19
#A246B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#A246B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A246B1
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A246B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A246B1 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3066B4
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#A45675
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a246b1; /* rgb */ color: rgb(162, 70, 177); /* oklch */ color: oklch(55.7% 0.181 321.8);
Tailwind
colors: {
custom: {
50: '#c07fc9',
500: '#a246b1',
950: '#000000',
},
}SCSS
$custom: #a246b1; $custom-light: #c07fc9; $custom-dark: #000000;
JSON
{
"hex": "#a246b1",
"rgb": {
"r": 162,
"g": 70,
"b": 177
},
"hsl": {
"h": 291.589,
"s": 43.32,
"l": 48.431
},
"oklch": {
"l": 0.55687,
"c": 0.18065,
"h": 321.8
},
"luminance": 0.15236
}Semantic roles & 50–950 ramp
primary
#A246B1
secondary
#97C38F
accent
#D35566
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82