#A7279B#A7279B

#A7279B is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.204 H 332.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A7279B
RGBrgb(167, 39, 155)
HSLhsl(306, 62%, 40%)
HSVhsv(306, 77%, 65%)
CMYKcmyk(0%, 76.6%, 7.2%, 34.5%)
CIE-LABlab(41.27, 62.80, -34.42)
CIE-LCHlch(41.27, 71.61, 331.27°)
OKLaboklab(52.08% 0.1805 -0.0947)
OKLCHoklch(52.08% 0.204 332.3)
XYZxyz(22.5783, 12.0350, 32.1378)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7279B #27A733
analogous
#7327A7 #A7279B #A7275B
triadic
#A7279B #9BA727 #279BA7
tetradic
#A7279B #A77327 #27A733 #275BA7
square
#A7279B #A77327 #27A733 #275BA7
split-complementary
#A7279B #5BA727 #27A773
monochromatic
#44103F #751B6D #A7279B #D13AC3 #DD6CD2

Accessibility & contrast

On white

6.16
#A7279B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A7279B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7279B
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7279B#FFFFFF#000000##FFFFFF
##A7279B1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E569E
Deuteranopia (green-blind)
#526898
Tritanopia (blue-blind)
#AE365F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a7279b;
/* rgb */ color: rgb(167, 39, 155);
/* oklch */ color: oklch(52.1% 0.204 332.3);
Tailwind
colors: {
  custom: {
    50: '#c570b9',
    500: '#a7279b',
    950: '#000000',
  },
}
SCSS
$custom: #a7279b;
$custom-light: #c570b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a7279b",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 305.625,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52076,
    "c": 0.20386,
    "h": 332.3
  },
  "luminance": 0.12033
}

Semantic roles & 50–950 ramp

primary
#A7279B
secondary
#67C36F
accent
#E55243
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A7279B

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

Preview Lab → · Contrast checker → · Palette generator →

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