#A846BC#A846BC
#A846BC is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.1% C 0.194 H 320.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A846BC |
|---|---|
| RGB | rgb(168, 70, 188) |
| HSL | hsl(290, 47%, 51%) |
| HSV | hsv(290, 63%, 74%) |
| CMYK | cmyk(10.6%, 62.8%, 0%, 26.3%) |
| CIE-LAB | lab(47.41, 57.02, -44.22) |
| CIE-LCH | lch(47.41, 72.16, 322.21°) |
| OKLab | oklab(57.11% 0.1495 -0.1233) |
| OKLCH | oklch(57.11% 0.194 320.5) |
| XYZ | xyz(27.4146, 16.3373, 49.2766) |
| Luminance | 0.1634 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.95
Medium Purple
#9E43A2
ΔE00 4.70
Ugly Purple
#A442A0
ΔE00 5.11
Barney
#AC1DB8
ΔE00 5.56
Amethyst
#9B5FC0
ΔE00 6.04
Darkorchid
#9932CC
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A846BC #5ABC46
analogous
#6D46BC #A846BC #BC4695
triadic
#A846BC #BCA846 #46BCA8
tetradic
#A846BC #BC6D46 #5ABC46 #4695BC
square
#A846BC #BC6D46 #5ABC46 #4695BC
split-complementary
#A846BC #95BC46 #46BC6D
monochromatic
#592464 #813490 #A846BC #BD73CC #D2A0DD
Accessibility & contrast
On white
4.92
#A846BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#A846BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A846BC
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A846BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A846BC | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#286AC0
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#A9597B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #a846bc; /* rgb */ color: rgb(168, 70, 188); /* oklch */ color: oklch(57.1% 0.194 320.5);
Tailwind
colors: {
custom: {
50: '#c580d1',
500: '#a846bc',
950: '#000000',
},
}SCSS
$custom: #a846bc; $custom-light: #c580d1; $custom-dark: #000000;
JSON
{
"hex": "#a846bc",
"rgb": {
"r": 168,
"g": 70,
"b": 188
},
"hsl": {
"h": 289.831,
"s": 46.825,
"l": 50.588
},
"oklch": {
"l": 0.57114,
"c": 0.19384,
"h": 320.5
},
"luminance": 0.16336
}Semantic roles & 50–950 ramp
primary
#A846BC
secondary
#9EC995
accent
#D65168
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82