#A246BB#A246BB
#A246BB is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.3% C 0.190 H 318.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A246BB |
|---|---|
| RGB | rgb(162, 70, 187) |
| HSL | hsl(287, 46%, 50%) |
| HSV | hsv(287, 63%, 73%) |
| CMYK | cmyk(13.4%, 62.6%, 0%, 26.7%) |
| CIE-LAB | lab(46.51, 55.37, -45.12) |
| CIE-LCH | lch(46.51, 71.42, 320.82°) |
| OKLab | oklab(56.27% 0.1423 -0.1261) |
| OKLCH | oklch(56.27% 0.19 318.5) |
| XYZ | xyz(26.0589, 15.6507, 48.6523) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.94
Medium Purple
#9E43A2
ΔE00 4.51
Ugly Purple
#A442A0
ΔE00 5.24
Darkorchid
#9932CC
ΔE00 5.35
Barney
#AC1DB8
ΔE00 5.39
Amethyst
#9B5FC0
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A246BB #5FBB46
analogous
#6746BB #A246BB #BB469A
triadic
#A246BB #BBA246 #46BBA2
tetradic
#A246BB #BB6746 #5FBB46 #469ABB
square
#A246BB #BB6746 #5FBB46 #469ABB
split-complementary
#A246BB #9ABB46 #46BB67
monochromatic
#552462 #7C358F #A246BB #B873CB #CFA0DC
Accessibility & contrast
On white
5.08
#A246BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#A246BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A246BB
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A246BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A246BB | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2468BF
Deuteranopia (green-blind)
#4C71B8
Tritanopia (blue-blind)
#A25A7A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a246bb; /* rgb */ color: rgb(162, 70, 187); /* oklch */ color: oklch(56.3% 0.190 318.5);
Tailwind
colors: {
custom: {
50: '#c17fd0',
500: '#a246bb',
950: '#000000',
},
}SCSS
$custom: #a246bb; $custom-light: #c17fd0; $custom-dark: #000000;
JSON
{
"hex": "#a246bb",
"rgb": {
"r": 162,
"g": 70,
"b": 187
},
"hsl": {
"h": 287.179,
"s": 46.245,
"l": 50.392
},
"oklch": {
"l": 0.56269,
"c": 0.19016,
"h": 318.5
},
"luminance": 0.1565
}Semantic roles & 50–950 ramp
primary
#A246BB
secondary
#9FC894
accent
#D6526E
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82