#A251BB#A251BB
#A251BB is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.7% C 0.174 H 317.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A251BB |
|---|---|
| RGB | rgb(162, 81, 187) |
| HSL | hsl(286, 44%, 53%) |
| HSV | hsv(286, 57%, 73%) |
| CMYK | cmyk(13.4%, 56.7%, 0%, 26.7%) |
| CIE-LAB | lab(48.45, 50.09, -42.03) |
| CIE-LCH | lch(48.45, 65.39, 320.00°) |
| OKLab | oklab(57.68% 0.1284 -0.1172) |
| OKLCH | oklch(57.68% 0.174 317.6) |
| XYZ | xyz(26.8111, 17.1551, 48.9030) |
| Luminance | 0.1715 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.82
Purply
#983FB2
ΔE00 4.99
Deep Lavender
#8D5EB7
ΔE00 5.19
Medium Purple
#9E43A2
ΔE00 5.47
Mediumorchid
#BA55D3
ΔE00 5.77
Ugly Purple
#A442A0
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A251BB #6ABB51
analogous
#6D51BB #A251BB #BB519F
triadic
#A251BB #BBA251 #51BBA2
tetradic
#A251BB #BB6D51 #6ABB51 #519FBB
square
#A251BB #BB6D51 #6ABB51 #519FBB
split-complementary
#A251BB #9FBB51 #51BB6D
monochromatic
#5A2969 #7F3A95 #A251BB #BA7DCC #D1A9DD
Accessibility & contrast
On white
4.74
#A251BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#A251BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A251BB
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A251BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A251BB | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#386EBE
Deuteranopia (green-blind)
#5576B8
Tritanopia (blue-blind)
#A1627E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #a251bb; /* rgb */ color: rgb(162, 81, 187); /* oklch */ color: oklch(57.7% 0.174 317.6);
Tailwind
colors: {
custom: {
50: '#c086d0',
500: '#a251bb',
950: '#000000',
},
}SCSS
$custom: #a251bb; $custom-light: #c086d0; $custom-dark: #000000;
JSON
{
"hex": "#a251bb",
"rgb": {
"r": 162,
"g": 81,
"b": 187
},
"hsl": {
"h": 285.849,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.57684,
"c": 0.17383,
"h": 317.6
},
"luminance": 0.17154
}Semantic roles & 50–950 ramp
primary
#A251BB
secondary
#A8CB9D
accent
#D45472
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82