#A642BB#A642BB
#A642BB is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.3% C 0.197 H 320.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A642BB |
|---|---|
| RGB | rgb(166, 66, 187) |
| HSL | hsl(290, 48%, 50%) |
| HSV | hsv(290, 65%, 73%) |
| CMYK | cmyk(11.2%, 64.7%, 0%, 26.7%) |
| CIE-LAB | lab(46.44, 58.11, -45.21) |
| CIE-LCH | lch(46.44, 73.63, 322.12°) |
| OKLab | oklab(56.33% 0.1519 -0.1262) |
| OKLCH | oklch(56.33% 0.197 320.3) |
| XYZ | xyz(26.6427, 15.5926, 48.6104) |
| Luminance | 0.1559 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.09
Medium Purple
#9E43A2
ΔE00 4.38
Barney
#AC1DB8
ΔE00 4.69
Ugly Purple
#A442A0
ΔE00 4.95
Darkorchid
#9932CC
ΔE00 5.39
Amethyst
#9B5FC0
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A642BB #57BB42
analogous
#6A42BB #A642BB #BB4293
triadic
#A642BB #BBA642 #42BBA6
tetradic
#A642BB #BB6A42 #57BB42 #4293BB
square
#A642BB #BB6A42 #57BB42 #4293BB
split-complementary
#A642BB #93BB42 #42BB6A
monochromatic
#562261 #7E328E #A642BB #BC6ECC #D19CDC
Accessibility & contrast
On white
5.10
#A642BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#A642BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A642BB
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A642BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A642BB | 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)
#1F67BF
Deuteranopia (green-blind)
#4D72B8
Tritanopia (blue-blind)
#A75679
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a642bb; /* rgb */ color: rgb(166, 66, 187); /* oklch */ color: oklch(56.3% 0.197 320.3);
Tailwind
colors: {
custom: {
50: '#c47dd0',
500: '#a642bb',
950: '#000000',
},
}SCSS
$custom: #a642bb; $custom-light: #c47dd0; $custom-dark: #000000;
JSON
{
"hex": "#a642bb",
"rgb": {
"r": 166,
"g": 66,
"b": 187
},
"hsl": {
"h": 289.587,
"s": 47.826,
"l": 49.608
},
"oklch": {
"l": 0.5633,
"c": 0.19749,
"h": 320.3
},
"luminance": 0.15591
}Semantic roles & 50–950 ramp
primary
#A642BB
secondary
#9AC891
accent
#D75068
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82