#A7279E#A7279E

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

Color values

HEX#A7279E
RGBrgb(167, 39, 158)
HSLhsl(304, 62%, 40%)
HSVhsv(304, 77%, 65%)
CMYKcmyk(0%, 76.6%, 5.4%, 34.5%)
CIE-LABlab(41.43, 63.27, -35.97)
CIE-LCHlch(41.43, 72.78, 330.38°)
OKLaboklab(52.24% 0.1806 -0.0991)
OKLCHoklch(52.24% 0.206 331.2)
XYZxyz(22.8334, 12.1370, 33.4812)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7279E #27A730
analogous
#7027A7 #A7279E #A7275E
triadic
#A7279E #9EA727 #279EA7
tetradic
#A7279E #A77027 #27A730 #275EA7
square
#A7279E #A77027 #27A730 #275EA7
split-complementary
#A7279E #5EA727 #27A770
monochromatic
#441040 #751B6F #A7279E #D13AC6 #DD6CD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7279E#FFFFFF#000000##FFFFFF
##A7279E1.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)
#1A56A1
Deuteranopia (green-blind)
#51689B
Tritanopia (blue-blind)
#AE3861
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a7279e;
/* rgb */ color: rgb(167, 39, 158);
/* oklch */ color: oklch(52.2% 0.206 331.2);
Tailwind
colors: {
  custom: {
    50: '#c570bb',
    500: '#a7279e',
    950: '#000000',
  },
}
SCSS
$custom: #a7279e;
$custom-light: #c570bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a7279e",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 304.219,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52244,
    "c": 0.20605,
    "h": 331.2
  },
  "luminance": 0.12135
}

Semantic roles & 50–950 ramp

primary
#A7279E
secondary
#67C36D
accent
#E54E43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A7279E

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

Preview Lab → · Contrast checker → · Palette generator →

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