#A2279A#A2279A

#A2279A is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.2% C 0.201 H 331.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A2279A
RGBrgb(162, 39, 154)
HSLhsl(304, 61%, 39%)
HSVhsv(304, 76%, 64%)
CMYKcmyk(0%, 75.9%, 4.9%, 36.5%)
CIE-LABlab(40.36, 61.54, -35.32)
CIE-LCHlch(40.36, 70.95, 330.15°)
OKLaboklab(51.24% 0.1754 -0.0974)
OKLCHoklch(51.24% 0.201 331)
XYZxyz(21.4585, 11.4672, 31.6488)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2279A #27A22F
analogous
#6C27A2 #A2279A #A2275D
triadic
#A2279A #9AA227 #279AA2
tetradic
#A2279A #A26C27 #27A22F #275DA2
square
#A2279A #A26C27 #27A22F #275DA2
split-complementary
#A2279A #5DA227 #27A26C
monochromatic
#3F0F3C #711B6B #A2279A #CF37C5 #DB69D3

Accessibility & contrast

On white

6.38
#A2279A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A2279A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2279A
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2279A#FFFFFF#000000##FFFFFF
##A2279A1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A549D
Deuteranopia (green-blind)
#4E6597
Tritanopia (blue-blind)
#A9375F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a2279a;
/* rgb */ color: rgb(162, 39, 154);
/* oklch */ color: oklch(51.2% 0.201 331.0);
Tailwind
colors: {
  custom: {
    50: '#c16fb8',
    500: '#a2279a',
    950: '#000000',
  },
}
SCSS
$custom: #a2279a;
$custom-light: #c16fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a2279a",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 303.902,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5124,
    "c": 0.20058,
    "h": 331
  },
  "luminance": 0.11466
}

Semantic roles & 50–950 ramp

primary
#A2279A
secondary
#64C16A
accent
#E44E43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A2279A

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

Preview Lab → · Contrast checker → · Palette generator →

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