#A2289D#A2289D

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

Color values

HEX#A2289D
RGBrgb(162, 40, 157)
HSLhsl(302, 60%, 40%)
HSVhsv(302, 75%, 64%)
CMYKcmyk(0%, 75.3%, 3.1%, 36.5%)
CIE-LABlab(40.63, 61.71, -36.69)
CIE-LCHlch(40.63, 71.79, 329.26°)
OKLaboklab(51.49% 0.1745 -0.1014)
OKLCHoklch(51.49% 0.202 329.8)
XYZxyz(21.7448, 11.6350, 32.9923)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2289D #28A22D
analogous
#6A28A2 #A2289D #A22860
triadic
#A2289D #9DA228 #289DA2
tetradic
#A2289D #A26A28 #28A22D #2860A2
square
#A2289D #A26A28 #28A22D #2860A2
split-complementary
#A2289D #60A228 #28A26A
monochromatic
#40103E #711C6D #A2289D #CE39C8 #DA6AD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2289D#FFFFFF#000000##FFFFFF
##A2289D1.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)
#1655A0
Deuteranopia (green-blind)
#4D659A
Tritanopia (blue-blind)
#A83961
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a2289d;
/* rgb */ color: rgb(162, 40, 157);
/* oklch */ color: oklch(51.5% 0.202 329.8);
Tailwind
colors: {
  custom: {
    50: '#c170ba',
    500: '#a2289d',
    950: '#000000',
  },
}
SCSS
$custom: #a2289d;
$custom-light: #c170ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a2289d",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 302.459,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51489,
    "c": 0.20181,
    "h": 329.8
  },
  "luminance": 0.11633
}

Semantic roles & 50–950 ramp

primary
#A2289D
secondary
#65C169
accent
#E44B44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A2289D

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

Preview Lab → · Contrast checker → · Palette generator →

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