#A648AF#A648AF
#A648AF is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.4% C 0.178 H 324.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A648AF |
|---|---|
| RGB | rgb(166, 72, 175) |
| HSL | hsl(295, 42%, 48%) |
| HSV | hsv(295, 59%, 69%) |
| CMYK | cmyk(5.1%, 58.9%, 0%, 31.4%) |
| CIE-LAB | lab(46.76, 53.13, -37.66) |
| CIE-LCH | lch(46.76, 65.13, 324.67°) |
| OKLab | oklab(56.36% 0.1441 -0.1043) |
| OKLCH | oklch(56.36% 0.178 324.1) |
| XYZ | xyz(25.7804, 15.8383, 42.2483) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.84
Ugly Purple
#A442A0
ΔE00 3.01
Purply
#983FB2
ΔE00 4.19
Barney
#AC1DB8
ΔE00 6.02
Purpley Pink
#C83CB9
ΔE00 6.10
Amethyst
#9B5FC0
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A648AF #51AF48
analogous
#7248AF #A648AF #AF4884
triadic
#A648AF #AFA648 #48AFA6
tetradic
#A648AF #AF7248 #51AF48 #4884AF
square
#A648AF #AF7248 #51AF48 #4884AF
split-complementary
#A648AF #84AF48 #48AF72
monochromatic
#542458 #7D3684 #A648AF #BD70C4 #D19BD6
Accessibility & contrast
On white
5.04
#A648AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#A648AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A648AF
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A648AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A648AF | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3768B2
Deuteranopia (green-blind)
#5873AC
Tritanopia (blue-blind)
#A95675
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a648af; /* rgb */ color: rgb(166, 72, 175); /* oklch */ color: oklch(56.4% 0.178 324.1);
Tailwind
colors: {
custom: {
50: '#c380c7',
500: '#a648af',
950: '#000000',
},
}SCSS
$custom: #a648af; $custom-light: #c380c7; $custom-dark: #000000;
JSON
{
"hex": "#a648af",
"rgb": {
"r": 166,
"g": 72,
"b": 175
},
"hsl": {
"h": 294.757,
"s": 41.7,
"l": 48.431
},
"oklch": {
"l": 0.56355,
"c": 0.1779,
"h": 324.1
},
"luminance": 0.15837
}Semantic roles & 50–950 ramp
primary
#A648AF
secondary
#95C290
accent
#D25661
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82