#A145BF#A145BF
#A145BF is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.3% C 0.195 H 316.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A145BF |
|---|---|
| RGB | rgb(161, 69, 191) |
| HSL | hsl(285, 49%, 51%) |
| HSV | hsv(285, 64%, 75%) |
| CMYK | cmyk(15.7%, 63.9%, 0%, 25.1%) |
| CIE-LAB | lab(46.44, 56.39, -47.57) |
| CIE-LCH | lch(46.44, 73.78, 319.84°) |
| OKLab | oklab(56.26% 0.1423 -0.1333) |
| OKLCH | oklch(56.26% 0.195 316.9) |
| XYZ | xyz(26.2286, 15.5959, 50.9088) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.98
Darkorchid
#9932CC
ΔE00 4.67
Medium Purple
#9E43A2
ΔE00 5.20
Barney
#AC1DB8
ΔE00 5.39
Ugly Purple
#A442A0
ΔE00 5.99
Amethyst
#9B5FC0
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A145BF #63BF45
analogous
#6445BF #A145BF #BF45A0
triadic
#A145BF #BFA145 #45BFA1
tetradic
#A145BF #BF6445 #63BF45 #45A0BF
square
#A145BF #BF6445 #63BF45 #45A0BF
split-complementary
#A145BF #A0BF45 #45BF64
monochromatic
#562366 #7C3394 #A145BF #B873CF #CFA0DE
Accessibility & contrast
On white
5.10
#A145BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#A145BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A145BF
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A145BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A145BF | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#4771BC
Tritanopia (blue-blind)
#A05B7C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a145bf; /* rgb */ color: rgb(161, 69, 191); /* oklch */ color: oklch(56.3% 0.195 316.9);
Tailwind
colors: {
custom: {
50: '#c07fd3',
500: '#a145bf',
950: '#000000',
},
}SCSS
$custom: #a145bf; $custom-light: #c07fd3; $custom-dark: #000000;
JSON
{
"hex": "#a145bf",
"rgb": {
"r": 161,
"g": 69,
"b": 191
},
"hsl": {
"h": 285.246,
"s": 48.8,
"l": 50.98
},
"oklch": {
"l": 0.56262,
"c": 0.19498,
"h": 316.9
},
"luminance": 0.15595
}Semantic roles & 50–950 ramp
primary
#A145BF
secondary
#A2CB95
accent
#D84F71
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83