#A8279E#A8279E

#A8279E is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.207 H 331.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A8279E
RGBrgb(168, 39, 158)
HSLhsl(305, 62%, 41%)
HSVhsv(305, 77%, 66%)
CMYKcmyk(0%, 76.8%, 6%, 34.1%)
CIE-LABlab(41.61, 63.49, -35.69)
CIE-LCHlch(41.61, 72.83, 330.66°)
OKLaboklab(52.4% 0.1817 -0.0983)
OKLCHoklch(52.4% 0.207 331.6)
XYZxyz(23.0455, 12.2464, 33.4912)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8279E #27A831
analogous
#7127A8 #A8279E #A8275D
triadic
#A8279E #9EA827 #279EA8
tetradic
#A8279E #A87127 #27A831 #275DA8
square
#A8279E #A87127 #27A831 #275DA8
split-complementary
#A8279E #5DA827 #27A871
monochromatic
#451041 #761B6F #A8279E #D13BC6 #DD6CD4

Accessibility & contrast

On white

6.09
#A8279E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A8279E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8279E
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8279E#FFFFFF#000000##FFFFFF
##A8279E1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B57A1
Deuteranopia (green-blind)
#52689B
Tritanopia (blue-blind)
#AF3761
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a8279e;
/* rgb */ color: rgb(168, 39, 158);
/* oklch */ color: oklch(52.4% 0.207 331.6);
Tailwind
colors: {
  custom: {
    50: '#c670bb',
    500: '#a8279e',
    950: '#000000',
  },
}
SCSS
$custom: #a8279e;
$custom-light: #c670bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a8279e",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 304.651,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52399,
    "c": 0.20656,
    "h": 331.6
  },
  "luminance": 0.12244
}

Semantic roles & 50–950 ramp

primary
#A8279E
secondary
#67C36E
accent
#E54F42
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A8279E

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

Preview Lab → · Contrast checker → · Palette generator →

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