#A2279D#A2279D

#A2279D is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.203 H 329.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A2279D
RGBrgb(162, 39, 157)
HSLhsl(302, 61%, 39%)
HSVhsv(302, 76%, 64%)
CMYKcmyk(0%, 75.9%, 3.1%, 36.5%)
CIE-LABlab(40.52, 62.02, -36.87)
CIE-LCHlch(40.52, 72.15, 329.27°)
OKLaboklab(51.41% 0.1754 -0.1019)
OKLCHoklch(51.41% 0.203 329.9)
XYZxyz(21.7115, 11.5684, 32.9812)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2279D #27A22C
analogous
#6A27A2 #A2279D #A22760
triadic
#A2279D #9DA227 #279DA2
tetradic
#A2279D #A26A27 #27A22C #2760A2
square
#A2279D #A26A27 #27A22C #2760A2
split-complementary
#A2279D #60A227 #27A26A
monochromatic
#3F0F3D #711B6D #A2279D #CF37C9 #DB69D6

Accessibility & contrast

On white

6.34
#A2279D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2279D
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2279D#FFFFFF#000000##FFFFFF
##A2279D1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1555A0
Deuteranopia (green-blind)
#4D659A
Tritanopia (blue-blind)
#A83960
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a2279d;
/* rgb */ color: rgb(162, 39, 157);
/* oklch */ color: oklch(51.4% 0.203 329.9);
Tailwind
colors: {
  custom: {
    50: '#c16fba',
    500: '#a2279d',
    950: '#000000',
  },
}
SCSS
$custom: #a2279d;
$custom-light: #c16fba;
$custom-dark: #000000;
JSON
{
  "hex": "#a2279d",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 302.439,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51411,
    "c": 0.20283,
    "h": 329.9
  },
  "luminance": 0.11567
}

Semantic roles & 50–950 ramp

primary
#A2279D
secondary
#64C168
accent
#E44A43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A2279D

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

Preview Lab → · Contrast checker → · Palette generator →

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