#A643AF#A643AF
#A643AF is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.8% C 0.185 H 324.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A643AF |
|---|---|
| RGB | rgb(166, 67, 175) |
| HSL | hsl(295, 45%, 47%) |
| HSV | hsv(295, 62%, 69%) |
| CMYK | cmyk(5.1%, 61.7%, 0%, 31.4%) |
| CIE-LAB | lab(45.93, 55.41, -38.98) |
| CIE-LCH | lch(45.93, 67.75, 324.88°) |
| OKLab | oklab(55.75% 0.1504 -0.1081) |
| OKLCH | oklch(55.75% 0.185 324.3) |
| XYZ | xyz(25.4702, 15.2179, 42.1449) |
| Luminance | 0.1522 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.48
Ugly Purple
#A442A0
ΔE00 2.80
Purply
#983FB2
ΔE00 3.52
Barney
#AC1DB8
ΔE00 5.02
Purpley Pink
#C83CB9
ΔE00 6.35
Darkorchid
#9932CC
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A643AF #4CAF43
analogous
#7043AF #A643AF #AF4382
triadic
#A643AF #AFA643 #43AFA6
tetradic
#A643AF #AF7043 #4CAF43 #4382AF
square
#A643AF #AF7043 #4CAF43 #4382AF
split-complementary
#A643AF #82AF43 #43AF70
monochromatic
#522156 #7C3283 #A643AF #BE69C6 #D196D7
Accessibility & contrast
On white
5.19
#A643AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#A643AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A643AF
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A643AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A643AF | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#5571AC
Tritanopia (blue-blind)
#A95373
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a643af; /* rgb */ color: rgb(166, 67, 175); /* oklch */ color: oklch(55.8% 0.185 324.3);
Tailwind
colors: {
custom: {
50: '#c37ec7',
500: '#a643af',
950: '#000000',
},
}SCSS
$custom: #a643af; $custom-light: #c37ec7; $custom-dark: #000000;
JSON
{
"hex": "#a643af",
"rgb": {
"r": 166,
"g": 67,
"b": 175
},
"hsl": {
"h": 295,
"s": 44.628,
"l": 47.451
},
"oklch": {
"l": 0.55751,
"c": 0.1852,
"h": 324.3
},
"luminance": 0.15216
}Semantic roles & 50–950 ramp
primary
#A643AF
secondary
#90C28B
accent
#D4535E
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82