#A8279F#A8279F

#A8279F is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.207 H 331.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A8279F
RGBrgb(168, 39, 159)
HSLhsl(304, 62%, 41%)
HSVhsv(304, 77%, 66%)
CMYKcmyk(0%, 76.8%, 5.4%, 34.1%)
CIE-LABlab(41.66, 63.64, -36.20)
CIE-LCHlch(41.66, 73.22, 330.37°)
OKLaboklab(52.46% 0.1817 -0.0998)
OKLCHoklch(52.46% 0.207 331.2)
XYZxyz(23.1320, 12.2810, 33.9463)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8279F #27A830
analogous
#7027A8 #A8279F #A8275E
triadic
#A8279F #9FA827 #279FA8
tetradic
#A8279F #A87027 #27A830 #275EA8
square
#A8279F #A87027 #27A830 #275EA8
split-complementary
#A8279F #5EA827 #27A870
monochromatic
#451041 #761B70 #A8279F #D13BC7 #DD6CD5

Accessibility & contrast

On white

6.08
#A8279F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A8279F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8279F
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8279F#FFFFFF#000000##FFFFFF
##A8279F1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1957A2
Deuteranopia (green-blind)
#51689C
Tritanopia (blue-blind)
#AF3862
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a8279f;
/* rgb */ color: rgb(168, 39, 159);
/* oklch */ color: oklch(52.5% 0.207 331.2);
Tailwind
colors: {
  custom: {
    50: '#c670bc',
    500: '#a8279f',
    950: '#000000',
  },
}
SCSS
$custom: #a8279f;
$custom-light: #c670bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a8279f",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 304.186,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52456,
    "c": 0.20729,
    "h": 331.2
  },
  "luminance": 0.12279
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8279F

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

Preview Lab → · Contrast checker → · Palette generator →

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