#A8279C#A8279C

#A8279C is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.205 H 332.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A8279C
RGBrgb(168, 39, 156)
HSLhsl(306, 62%, 41%)
HSVhsv(306, 77%, 66%)
CMYKcmyk(0%, 76.8%, 7.1%, 34.1%)
CIE-LABlab(41.50, 63.18, -34.65)
CIE-LCHlch(41.50, 72.06, 331.25°)
OKLaboklab(52.29% 0.1816 -0.0953)
OKLCHoklch(52.29% 0.205 332.3)
XYZxyz(22.8748, 12.1781, 32.5919)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8279C #27A833
analogous
#7327A8 #A8279C #A8275C
triadic
#A8279C #9CA827 #279CA8
tetradic
#A8279C #A87327 #27A833 #275CA8
square
#A8279C #A87327 #27A833 #275CA8
split-complementary
#A8279C #5CA827 #27A873
monochromatic
#451040 #761B6E #A8279C #D13BC3 #DD6CD3

Accessibility & contrast

On white

6.11
#A8279C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A8279C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8279C
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8279C#FFFFFF#000000##FFFFFF
##A8279C1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E569F
Deuteranopia (green-blind)
#536899
Tritanopia (blue-blind)
#AF3660
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a8279c;
/* rgb */ color: rgb(168, 39, 156);
/* oklch */ color: oklch(52.3% 0.205 332.3);
Tailwind
colors: {
  custom: {
    50: '#c670b9',
    500: '#a8279c',
    950: '#000000',
  },
}
SCSS
$custom: #a8279c;
$custom-light: #c670b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8279c",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 305.581,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52288,
    "c": 0.2051,
    "h": 332.3
  },
  "luminance": 0.12176
}

Semantic roles & 50–950 ramp

primary
#A8279C
secondary
#67C370
accent
#E55242
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A8279C

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

Preview Lab → · Contrast checker → · Palette generator →

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