#A145AF#A145AF
#A145AF is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.3% C 0.180 H 322.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #A145AF |
|---|---|
| RGB | rgb(161, 69, 175) |
| HSL | hsl(292, 43%, 48%) |
| HSV | hsv(292, 61%, 69%) |
| CMYK | cmyk(8%, 60.6%, 0%, 31.4%) |
| CIE-LAB | lab(45.54, 53.23, -39.65) |
| CIE-LCH | lch(45.54, 66.37, 323.32°) |
| OKLab | oklab(55.32% 0.142 -0.1102) |
| OKLCH | oklch(55.32% 0.18 322.2) |
| XYZ | xyz(24.5631, 14.9297, 42.1370) |
| Luminance | 0.1493 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.40
Purply
#983FB2
ΔE00 2.78
Ugly Purple
#A442A0
ΔE00 3.18
Barney
#AC1DB8
ΔE00 5.22
Darkorchid
#9932CC
ΔE00 6.62
Amethyst
#9B5FC0
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A145AF #53AF45
analogous
#6C45AF #A145AF #AF4588
triadic
#A145AF #AFA145 #45AFA1
tetradic
#A145AF #AF6C45 #53AF45 #4588AF
square
#A145AF #AF6C45 #53AF45 #4588AF
split-complementary
#A145AF #88AF45 #45AF6C
monochromatic
#502257 #793483 #A145AF #B96CC5 #CE98D6
Accessibility & contrast
On white
5.27
#A145AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#A145AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A145AF
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A145AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A145AF | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#526FAC
Tritanopia (blue-blind)
#A35574
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a145af; /* rgb */ color: rgb(161, 69, 175); /* oklch */ color: oklch(55.3% 0.180 322.2);
Tailwind
colors: {
custom: {
50: '#c07ec7',
500: '#a145af',
950: '#000000',
},
}SCSS
$custom: #a145af; $custom-light: #c07ec7; $custom-dark: #000000;
JSON
{
"hex": "#a145af",
"rgb": {
"r": 161,
"g": 69,
"b": 175
},
"hsl": {
"h": 292.075,
"s": 43.443,
"l": 47.843
},
"oklch": {
"l": 0.55317,
"c": 0.17974,
"h": 322.2
},
"luminance": 0.14928
}Semantic roles & 50–950 ramp
primary
#A145AF
secondary
#94C28D
accent
#D35565
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82