#A8279D#A8279D

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

Color values

HEX#A8279D
RGBrgb(168, 39, 157)
HSLhsl(305, 62%, 41%)
HSVhsv(305, 77%, 66%)
CMYKcmyk(0%, 76.8%, 6.5%, 34.1%)
CIE-LABlab(41.55, 63.33, -35.17)
CIE-LCHlch(41.55, 72.44, 330.95°)
OKLaboklab(52.34% 0.1816 -0.0968)
OKLCHoklch(52.34% 0.206 331.9)
XYZxyz(22.9598, 12.2121, 33.0397)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8279D #27A832
analogous
#7227A8 #A8279D #A8275D
triadic
#A8279D #9DA827 #279DA8
tetradic
#A8279D #A87227 #27A832 #275DA8
square
#A8279D #A87227 #27A832 #275DA8
split-complementary
#A8279D #5DA827 #27A872
monochromatic
#451040 #761B6F #A8279D #D13BC5 #DD6CD3

Accessibility & contrast

On white

6.10
#A8279D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8279D
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8279D#FFFFFF#000000##FFFFFF
##A8279D1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8279d;
/* rgb */ color: rgb(168, 39, 157);
/* oklch */ color: oklch(52.3% 0.206 331.9);
Tailwind
colors: {
  custom: {
    50: '#c670ba',
    500: '#a8279d',
    950: '#000000',
  },
}
SCSS
$custom: #a8279d;
$custom-light: #c670ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a8279d",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 305.116,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52343,
    "c": 0.20582,
    "h": 331.9
  },
  "luminance": 0.1221
}

Semantic roles & 50–950 ramp

primary
#A8279D
secondary
#67C36F
accent
#E55042
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A8279D

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

Preview Lab → · Contrast checker → · Palette generator →

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