#A648B2#A648B2
#A648B2 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.5% C 0.181 H 323.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A648B2 |
|---|---|
| RGB | rgb(166, 72, 178) |
| HSL | hsl(293, 42%, 49%) |
| HSV | hsv(293, 60%, 70%) |
| CMYK | cmyk(6.7%, 59.6%, 0%, 30.2%) |
| CIE-LAB | lab(46.92, 53.70, -39.18) |
| CIE-LCH | lch(46.92, 66.47, 323.89°) |
| OKLab | oklab(56.52% 0.1443 -0.1087) |
| OKLCH | oklch(56.52% 0.181 323) |
| XYZ | xyz(26.0783, 15.9574, 43.8173) |
| Luminance | 0.1596 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.23
Ugly Purple
#A442A0
ΔE00 3.53
Purply
#983FB2
ΔE00 3.98
Barney
#AC1DB8
ΔE00 5.89
Purpley Pink
#C83CB9
ΔE00 6.14
Amethyst
#9B5FC0
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A648B2 #54B248
analogous
#7148B2 #A648B2 #B24889
triadic
#A648B2 #B2A648 #48B2A6
tetradic
#A648B2 #B27148 #54B248 #4889B2
square
#A648B2 #B27148 #54B248 #4889B2
split-complementary
#A648B2 #89B248 #48B271
monochromatic
#55255B #7D3686 #A648B2 #BC71C6 #D19DD7
Accessibility & contrast
On white
5.01
#A648B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#A648B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A648B2
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A648B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A648B2 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3568B5
Deuteranopia (green-blind)
#5773AF
Tritanopia (blue-blind)
#A95776
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a648b2; /* rgb */ color: rgb(166, 72, 178); /* oklch */ color: oklch(56.5% 0.181 323.0);
Tailwind
colors: {
custom: {
50: '#c380c9',
500: '#a648b2',
950: '#000000',
},
}SCSS
$custom: #a648b2; $custom-light: #c380c9; $custom-dark: #000000;
JSON
{
"hex": "#a648b2",
"rgb": {
"r": 166,
"g": 72,
"b": 178
},
"hsl": {
"h": 293.208,
"s": 42.4,
"l": 49.02
},
"oklch": {
"l": 0.5652,
"c": 0.18068,
"h": 323
},
"luminance": 0.15956
}Semantic roles & 50–950 ramp
primary
#A648B2
secondary
#98C492
accent
#D25664
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82