#A254B3#A254B3
#A254B3 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.7% C 0.161 H 320.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A254B3 |
|---|---|
| RGB | rgb(162, 84, 179) |
| HSL | hsl(289, 38%, 52%) |
| HSV | hsv(289, 53%, 70%) |
| CMYK | cmyk(9.5%, 53.1%, 0%, 29.8%) |
| CIE-LAB | lab(48.61, 46.95, -37.13) |
| CIE-LCH | lch(48.61, 59.86, 321.66°) |
| OKLab | oklab(57.66% 0.1236 -0.103) |
| OKLCH | oklch(57.66% 0.161 320.2) |
| XYZ | xyz(26.2063, 17.2778, 44.5936) |
| Luminance | 0.1728 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.11
Medium Purple
#9E43A2
ΔE00 4.96
Ugly Purple
#A442A0
ΔE00 5.26
Deep Lavender
#8D5EB7
ΔE00 5.33
Purply
#983FB2
ΔE00 5.72
Mediumorchid
#BA55D3
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A254B3 #65B354
analogous
#7354B3 #A254B3 #B35495
triadic
#A254B3 #B3A254 #54B3A2
tetradic
#A254B3 #B37354 #65B354 #5495B3
square
#A254B3 #B37354 #65B354 #5495B3
split-complementary
#A254B3 #95B354 #54B373
monochromatic
#582B61 #7E3E8C #A254B3 #B97EC6 #D0A9D9
Accessibility & contrast
On white
4.71
#A254B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#A254B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A254B3
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A254B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A254B3 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#436EB6
Deuteranopia (green-blind)
#5C76B0
Tritanopia (blue-blind)
#A3617C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #a254b3; /* rgb */ color: rgb(162, 84, 179); /* oklch */ color: oklch(57.7% 0.161 320.2);
Tailwind
colors: {
custom: {
50: '#c087ca',
500: '#a254b3',
950: '#000000',
},
}SCSS
$custom: #a254b3; $custom-light: #c087ca; $custom-dark: #000000;
JSON
{
"hex": "#a254b3",
"rgb": {
"r": 162,
"g": 84,
"b": 179
},
"hsl": {
"h": 289.263,
"s": 38.462,
"l": 51.569
},
"oklch": {
"l": 0.57661,
"c": 0.16091,
"h": 320.2
},
"luminance": 0.17277
}Semantic roles & 50–950 ramp
primary
#A254B3
secondary
#A4C69D
accent
#CE596E
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120B13
muted
#817C82