#A642BC#A642BC
#A642BC is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.4% C 0.198 H 319.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A642BC |
|---|---|
| RGB | rgb(166, 66, 188) |
| HSL | hsl(289, 48%, 50%) |
| HSV | hsv(289, 65%, 74%) |
| CMYK | cmyk(11.7%, 64.9%, 0%, 26.3%) |
| CIE-LAB | lab(46.49, 58.30, -45.70) |
| CIE-LCH | lch(46.49, 74.08, 321.91°) |
| OKLab | oklab(56.39% 0.1519 -0.1277) |
| OKLCH | oklch(56.39% 0.198 319.9) |
| XYZ | xyz(26.7501, 15.6355, 49.1761) |
| Luminance | 0.1563 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.13
Medium Purple
#9E43A2
ΔE00 4.54
Barney
#AC1DB8
ΔE00 4.73
Ugly Purple
#A442A0
ΔE00 5.12
Darkorchid
#9932CC
ΔE00 5.28
Amethyst
#9B5FC0
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A642BC #58BC42
analogous
#6942BC #A642BC #BC4295
triadic
#A642BC #BCA642 #42BCA6
tetradic
#A642BC #BC6942 #58BC42 #4295BC
square
#A642BC #BC6942 #58BC42 #4295BC
split-complementary
#A642BC #95BC42 #42BC69
monochromatic
#562261 #7E328F #A642BC #BC6FCC #D19CDC
Accessibility & contrast
On white
5.09
#A642BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#A642BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A642BC
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A642BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A642BC | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D67C0
Deuteranopia (green-blind)
#4C72B9
Tritanopia (blue-blind)
#A75779
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a642bc; /* rgb */ color: rgb(166, 66, 188); /* oklch */ color: oklch(56.4% 0.198 319.9);
Tailwind
colors: {
custom: {
50: '#c47dd1',
500: '#a642bc',
950: '#000000',
},
}SCSS
$custom: #a642bc; $custom-light: #c47dd1; $custom-dark: #000000;
JSON
{
"hex": "#a642bc",
"rgb": {
"r": 166,
"g": 66,
"b": 188
},
"hsl": {
"h": 289.18,
"s": 48.031,
"l": 49.804
},
"oklch": {
"l": 0.5639,
"c": 0.1984,
"h": 319.9
},
"luminance": 0.15634
}Semantic roles & 50–950 ramp
primary
#A642BC
secondary
#9BC991
accent
#D85069
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82