#A145BB#A145BB
#A145BB is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.0% C 0.191 H 318.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A145BB |
|---|---|
| RGB | rgb(161, 69, 187) |
| HSL | hsl(287, 46%, 50%) |
| HSV | hsv(287, 63%, 73%) |
| CMYK | cmyk(13.9%, 63.1%, 0%, 26.7%) |
| CIE-LAB | lab(46.21, 55.58, -45.62) |
| CIE-LCH | lch(46.21, 71.91, 320.63°) |
| OKLab | oklab(56.02% 0.1423 -0.1276) |
| OKLCH | oklch(56.02% 0.191 318.1) |
| XYZ | xyz(25.7945, 15.4222, 48.6221) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.65
Medium Purple
#9E43A2
ΔE00 4.51
Darkorchid
#9932CC
ΔE00 5.06
Barney
#AC1DB8
ΔE00 5.21
Ugly Purple
#A442A0
ΔE00 5.31
Amethyst
#9B5FC0
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A145BB #5FBB45
analogous
#6645BB #A145BB #BB459A
triadic
#A145BB #BBA145 #45BBA1
tetradic
#A145BB #BB6645 #5FBB45 #459ABB
square
#A145BB #BB6645 #5FBB45 #459ABB
split-complementary
#A145BB #9ABB45 #45BB66
monochromatic
#542462 #7B348F #A145BB #B872CB #CE9FDC
Accessibility & contrast
On white
5.14
#A145BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#A145BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A145BB
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A145BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A145BB | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2167BF
Deuteranopia (green-blind)
#4A70B8
Tritanopia (blue-blind)
#A1597A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a145bb; /* rgb */ color: rgb(161, 69, 187); /* oklch */ color: oklch(56.0% 0.191 318.1);
Tailwind
colors: {
custom: {
50: '#c07fd0',
500: '#a145bb',
950: '#000000',
},
}SCSS
$custom: #a145bb; $custom-light: #c07fd0; $custom-dark: #000000;
JSON
{
"hex": "#a145bb",
"rgb": {
"r": 161,
"g": 69,
"b": 187
},
"hsl": {
"h": 286.78,
"s": 46.457,
"l": 50.196
},
"oklch": {
"l": 0.56019,
"c": 0.19113,
"h": 318.1
},
"luminance": 0.15421
}Semantic roles & 50–950 ramp
primary
#A145BB
secondary
#9FC894
accent
#D6526F
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82