#A8279B#A8279B

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

Color values

HEX#A8279B
RGBrgb(168, 39, 155)
HSLhsl(306, 62%, 41%)
HSVhsv(306, 77%, 66%)
CMYKcmyk(0%, 76.8%, 7.7%, 34.1%)
CIE-LABlab(41.44, 63.02, -34.13)
CIE-LCHlch(41.44, 71.67, 331.56°)
OKLaboklab(52.23% 0.1816 -0.0938)
OKLCHoklch(52.23% 0.204 332.7)
XYZxyz(22.7905, 12.1444, 32.1478)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8279B #27A834
analogous
#7527A8 #A8279B #A8275A
triadic
#A8279B #9BA827 #279BA8
tetradic
#A8279B #A87527 #27A834 #275AA8
square
#A8279B #A87527 #27A834 #275AA8
split-complementary
#A8279B #5AA827 #27A875
monochromatic
#45103F #761B6D #A8279B #D13BC2 #DD6CD2

Accessibility & contrast

On white

6.13
#A8279B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A8279B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8279B
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8279B#FFFFFF#000000##FFFFFF
##A8279B1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F569E
Deuteranopia (green-blind)
#536898
Tritanopia (blue-blind)
#B0365F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a8279b;
/* rgb */ color: rgb(168, 39, 155);
/* oklch */ color: oklch(52.2% 0.204 332.7);
Tailwind
colors: {
  custom: {
    50: '#c670b9',
    500: '#a8279b',
    950: '#000000',
  },
}
SCSS
$custom: #a8279b;
$custom-light: #c670b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8279b",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 306.047,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52232,
    "c": 0.20438,
    "h": 332.7
  },
  "luminance": 0.12142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8279B

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

Preview Lab → · Contrast checker → · Palette generator →

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