#A727A9#A727A9
#A727A9 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.214 H 327.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A727A9 |
|---|---|
| RGB | rgb(167, 39, 169) |
| HSL | hsl(299, 63%, 41%) |
| HSV | hsv(299, 77%, 66%) |
| CMYK | cmyk(1.2%, 76.9%, 0%, 33.7%) |
| CIE-LAB | lab(42.05, 65.03, -41.57) |
| CIE-LCH | lch(42.05, 77.19, 327.41°) |
| OKLab | oklab(52.88% 0.1805 -0.1154) |
| OKLCH | oklch(52.88% 0.214 327.4) |
| XYZ | xyz(23.8230, 12.5328, 38.6928) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.42
Barney Purple
#A00498
ΔE00 4.27
Medium Purple
#9E43A2
ΔE00 4.32
Purply
#983FB2
ΔE00 4.44
Ugly Purple
#A442A0
ΔE00 4.55
Warm Purple
#952E8F
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A727A9 #29A927
analogous
#6627A9 #A727A9 #A9276A
triadic
#A727A9 #A9A727 #27A9A7
tetradic
#A727A9 #A96627 #29A927 #276AA9
square
#A727A9 #A96627 #29A927 #276AA9
split-complementary
#A727A9 #6AA927 #27A966
monochromatic
#451046 #761C77 #A727A9 #D03BD2 #DC6DDD
Accessibility & contrast
On white
5.99
#A727A9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#A727A9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A727A9
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A727A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A727A9 | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#4A69A6
Tritanopia (blue-blind)
#AC3D67
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #a727a9; /* rgb */ color: rgb(167, 39, 169); /* oklch */ color: oklch(52.9% 0.214 327.4);
Tailwind
colors: {
custom: {
50: '#c570c3',
500: '#a727a9',
950: '#000000',
},
}SCSS
$custom: #a727a9; $custom-light: #c570c3; $custom-dark: #000000;
JSON
{
"hex": "#a727a9",
"rgb": {
"r": 167,
"g": 39,
"b": 169
},
"hsl": {
"h": 299.077,
"s": 62.5,
"l": 40.784
},
"oklch": {
"l": 0.52884,
"c": 0.21428,
"h": 327.4
},
"luminance": 0.12531
}Semantic roles & 50–950 ramp
primary
#A727A9
secondary
#69C468
accent
#E64245
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81