#A2279C#A2279C

#A2279C is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.202 H 330.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A2279C
RGBrgb(162, 39, 156)
HSLhsl(303, 61%, 39%)
HSVhsv(303, 76%, 64%)
CMYKcmyk(0%, 75.9%, 3.7%, 36.5%)
CIE-LABlab(40.47, 61.86, -36.35)
CIE-LCHlch(40.47, 71.75, 329.56°)
OKLaboklab(51.35% 0.1754 -0.1004)
OKLCHoklch(51.35% 0.202 330.2)
XYZxyz(21.6265, 11.5344, 32.5334)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2279C #27A22D
analogous
#6B27A2 #A2279C #A2275F
triadic
#A2279C #9CA227 #279CA2
tetradic
#A2279C #A26B27 #27A22D #275FA2
square
#A2279C #A26B27 #27A22D #275FA2
split-complementary
#A2279C #5FA227 #27A26B
monochromatic
#3F0F3D #711B6D #A2279C #CF37C8 #DB69D5

Accessibility & contrast

On white

6.35
#A2279C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A2279C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2279C
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2279C#FFFFFF#000000##FFFFFF
##A2279C1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16559F
Deuteranopia (green-blind)
#4D6599
Tritanopia (blue-blind)
#A83860
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a2279c;
/* rgb */ color: rgb(162, 39, 156);
/* oklch */ color: oklch(51.4% 0.202 330.2);
Tailwind
colors: {
  custom: {
    50: '#c16fb9',
    500: '#a2279c',
    950: '#000000',
  },
}
SCSS
$custom: #a2279c;
$custom-light: #c16fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a2279c",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 302.927,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51354,
    "c": 0.20208,
    "h": 330.2
  },
  "luminance": 0.11533
}

Semantic roles & 50–950 ramp

primary
#A2279C
secondary
#64C168
accent
#E44B43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A2279C

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

Preview Lab → · Contrast checker → · Palette generator →

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