#A8279A#A8279A

#A8279A is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.204 H 333.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A8279A
RGBrgb(168, 39, 154)
HSLhsl(307, 62%, 41%)
HSVhsv(307, 77%, 66%)
CMYKcmyk(0%, 76.8%, 8.3%, 34.1%)
CIE-LABlab(41.39, 62.87, -33.61)
CIE-LCHlch(41.39, 71.29, 331.87°)
OKLaboklab(52.18% 0.1815 -0.0923)
OKLCHoklch(52.18% 0.204 333)
XYZxyz(22.7068, 12.1109, 31.7073)
Luminance0.1211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8279A #27A835
analogous
#7627A8 #A8279A #A82759
triadic
#A8279A #9AA827 #279AA8
tetradic
#A8279A #A87627 #27A835 #2759A8
square
#A8279A #A87627 #27A835 #2759A8
split-complementary
#A8279A #59A827 #27A876
monochromatic
#45103F #761B6C #A8279A #D13BC1 #DD6CD1

Accessibility & contrast

On white

6.14
#A8279A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A8279A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8279A
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8279A#FFFFFF#000000##FFFFFF
##A8279A1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20569D
Deuteranopia (green-blind)
#546897
Tritanopia (blue-blind)
#B0355F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a8279a;
/* rgb */ color: rgb(168, 39, 154);
/* oklch */ color: oklch(52.2% 0.204 333.0);
Tailwind
colors: {
  custom: {
    50: '#c670b8',
    500: '#a8279a',
    950: '#000000',
  },
}
SCSS
$custom: #a8279a;
$custom-light: #c670b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a8279a",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 306.512,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52178,
    "c": 0.20366,
    "h": 333
  },
  "luminance": 0.12109
}

Semantic roles & 50–950 ramp

primary
#A8279A
secondary
#67C371
accent
#E55442
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A8279A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A8279A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva