#A2279E#A2279E

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

Color values

HEX#A2279E
RGBrgb(162, 39, 158)
HSLhsl(302, 61%, 39%)
HSVhsv(302, 76%, 64%)
CMYKcmyk(0%, 75.9%, 2.5%, 36.5%)
CIE-LABlab(40.58, 62.18, -37.38)
CIE-LCHlch(40.58, 72.55, 328.99°)
OKLaboklab(51.47% 0.1754 -0.1034)
OKLCHoklch(51.47% 0.204 329.5)
XYZxyz(21.7972, 11.6027, 33.4326)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2279E #27A22B
analogous
#6927A2 #A2279E #A22761
triadic
#A2279E #9EA227 #279EA2
tetradic
#A2279E #A26927 #27A22B #2761A2
square
#A2279E #A26927 #27A22B #2761A2
split-complementary
#A2279E #61A227 #27A269
monochromatic
#3F0F3E #711B6E #A2279E #CF37CA #DB69D7

Accessibility & contrast

On white

6.32
#A2279E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A2279E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2279E
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2279E#FFFFFF#000000##FFFFFF
##A2279E1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1355A1
Deuteranopia (green-blind)
#4C659B
Tritanopia (blue-blind)
#A83961
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a2279e;
/* rgb */ color: rgb(162, 39, 158);
/* oklch */ color: oklch(51.5% 0.204 329.5);
Tailwind
colors: {
  custom: {
    50: '#c16fbb',
    500: '#a2279e',
    950: '#000000',
  },
}
SCSS
$custom: #a2279e;
$custom-light: #c16fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#a2279e",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 301.951,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51469,
    "c": 0.20359,
    "h": 329.5
  },
  "luminance": 0.11601
}

Semantic roles & 50–950 ramp

primary
#A2279E
secondary
#64C167
accent
#E44943
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A2279E

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

Preview Lab → · Contrast checker → · Palette generator →

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