#A2279B#A2279B

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

Color values

HEX#A2279B
RGBrgb(162, 39, 155)
HSLhsl(303, 61%, 39%)
HSVhsv(303, 76%, 64%)
CMYKcmyk(0%, 75.9%, 4.3%, 36.5%)
CIE-LABlab(40.41, 61.70, -35.83)
CIE-LCHlch(40.41, 71.35, 329.85°)
OKLaboklab(51.3% 0.1754 -0.0989)
OKLCHoklch(51.3% 0.201 330.6)
XYZxyz(21.5421, 11.5007, 32.0893)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2279B #27A22E
analogous
#6C27A2 #A2279B #A2275D
triadic
#A2279B #9BA227 #279BA2
tetradic
#A2279B #A26C27 #27A22E #275DA2
square
#A2279B #A26C27 #27A22E #275DA2
split-complementary
#A2279B #5DA227 #27A26C
monochromatic
#3F0F3D #711B6C #A2279B #CF37C6 #DB69D4

Accessibility & contrast

On white

6.36
#A2279B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A2279B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2279B
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2279B#FFFFFF#000000##FFFFFF
##A2279B1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18559E
Deuteranopia (green-blind)
#4E6598
Tritanopia (blue-blind)
#A8385F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a2279b;
/* rgb */ color: rgb(162, 39, 155);
/* oklch */ color: oklch(51.3% 0.201 330.6);
Tailwind
colors: {
  custom: {
    50: '#c16fb9',
    500: '#a2279b',
    950: '#000000',
  },
}
SCSS
$custom: #a2279b;
$custom-light: #c16fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a2279b",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 303.415,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51296,
    "c": 0.20133,
    "h": 330.6
  },
  "luminance": 0.11499
}

Semantic roles & 50–950 ramp

primary
#A2279B
secondary
#64C169
accent
#E44D43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A2279B

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

Preview Lab → · Contrast checker → · Palette generator →

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