#A2289C#A2289C

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

Color values

HEX#A2289C
RGBrgb(162, 40, 156)
HSLhsl(303, 60%, 40%)
HSVhsv(303, 75%, 64%)
CMYKcmyk(0%, 75.3%, 3.7%, 36.5%)
CIE-LABlab(40.57, 61.55, -36.18)
CIE-LCHlch(40.57, 71.39, 329.55°)
OKLaboklab(51.43% 0.1745 -0.0999)
OKLCHoklch(51.43% 0.201 330.2)
XYZxyz(21.6597, 11.6010, 32.5445)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2289C #28A22E
analogous
#6B28A2 #A2289C #A2285F
triadic
#A2289C #9CA228 #289CA2
tetradic
#A2289C #A26B28 #28A22E #285FA2
square
#A2289C #A26B28 #28A22E #285FA2
split-complementary
#A2289C #5FA228 #28A26B
monochromatic
#40103D #711C6D #A2289C #CE39C7 #DA6AD5

Accessibility & contrast

On white

6.33
#A2289C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2289C
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2289C#FFFFFF#000000##FFFFFF
##A2289C1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18559F
Deuteranopia (green-blind)
#4D6599
Tritanopia (blue-blind)
#A83960
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a2289c;
/* rgb */ color: rgb(162, 40, 156);
/* oklch */ color: oklch(51.4% 0.201 330.2);
Tailwind
colors: {
  custom: {
    50: '#c170b9',
    500: '#a2289c',
    950: '#000000',
  },
}
SCSS
$custom: #a2289c;
$custom-light: #c170b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a2289c",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 302.951,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51431,
    "c": 0.20106,
    "h": 330.2
  },
  "luminance": 0.11599
}

Semantic roles & 50–950 ramp

primary
#A2289C
secondary
#65C16A
accent
#E44C44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A2289C

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

Preview Lab → · Contrast checker → · Palette generator →

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