#A2279F#A2279F

#A2279F is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.204 H 329.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A2279F
RGBrgb(162, 39, 159)
HSLhsl(301, 61%, 39%)
HSVhsv(301, 76%, 64%)
CMYKcmyk(0%, 75.9%, 1.9%, 36.5%)
CIE-LABlab(40.63, 62.34, -37.89)
CIE-LCHlch(40.63, 72.95, 328.71°)
OKLaboklab(51.53% 0.1754 -0.1048)
OKLCHoklch(51.53% 0.204 329.1)
XYZxyz(21.8836, 11.6373, 33.8878)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2279F #27A22A
analogous
#6727A2 #A2279F #A22762
triadic
#A2279F #9FA227 #279FA2
tetradic
#A2279F #A26727 #27A22A #2762A2
square
#A2279F #A26727 #27A22A #2762A2
split-complementary
#A2279F #62A227 #27A267
monochromatic
#3F0F3E #711B6F #A2279F #CF37CB #DB69D8

Accessibility & contrast

On white

6.31
#A2279F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A2279F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2279F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2279F#FFFFFF#000000##FFFFFF
##A2279F1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1055A2
Deuteranopia (green-blind)
#4B659C
Tritanopia (blue-blind)
#A83A62
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a2279f;
/* rgb */ color: rgb(162, 39, 159);
/* oklch */ color: oklch(51.5% 0.204 329.1);
Tailwind
colors: {
  custom: {
    50: '#c16fbc',
    500: '#a2279f',
    950: '#000000',
  },
}
SCSS
$custom: #a2279f;
$custom-light: #c16fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a2279f",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 301.463,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51527,
    "c": 0.20434,
    "h": 329.1
  },
  "luminance": 0.11636
}

Semantic roles & 50–950 ramp

primary
#A2279F
secondary
#64C166
accent
#E44743
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A2279F

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

Preview Lab → · Contrast checker → · Palette generator →

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