#A2289A#A2289A

#A2289A is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.3% C 0.200 H 331.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A2289A
RGBrgb(162, 40, 154)
HSLhsl(304, 60%, 40%)
HSVhsv(304, 75%, 64%)
CMYKcmyk(0%, 75.3%, 4.9%, 36.5%)
CIE-LABlab(40.47, 61.23, -35.15)
CIE-LCHlch(40.47, 70.60, 330.14°)
OKLaboklab(51.32% 0.1745 -0.0969)
OKLCHoklch(51.32% 0.2 331)
XYZxyz(21.4918, 11.5338, 31.6599)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2289A #28A230
analogous
#6D28A2 #A2289A #A2285D
triadic
#A2289A #9AA228 #289AA2
tetradic
#A2289A #A26D28 #28A230 #285DA2
square
#A2289A #A26D28 #28A230 #285DA2
split-complementary
#A2289A #5DA228 #28A26D
monochromatic
#40103D #711C6B #A2289A #CE39C4 #DA6AD3

Accessibility & contrast

On white

6.35
#A2289A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2289A
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2289A#FFFFFF#000000##FFFFFF
##A2289A1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B559D
Deuteranopia (green-blind)
#4F6597
Tritanopia (blue-blind)
#A9385F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a2289a;
/* rgb */ color: rgb(162, 40, 154);
/* oklch */ color: oklch(51.3% 0.200 331.0);
Tailwind
colors: {
  custom: {
    50: '#c16fb8',
    500: '#a2289a',
    950: '#000000',
  },
}
SCSS
$custom: #a2289a;
$custom-light: #c16fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a2289a",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 303.934,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51317,
    "c": 0.19955,
    "h": 331
  },
  "luminance": 0.11532
}

Semantic roles & 50–950 ramp

primary
#A2289A
secondary
#65C16B
accent
#E44F44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A2289A

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

Preview Lab → · Contrast checker → · Palette generator →

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