#A2289B#A2289B

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

Color values

HEX#A2289B
RGBrgb(162, 40, 155)
HSLhsl(303, 60%, 40%)
HSVhsv(303, 75%, 64%)
CMYKcmyk(0%, 75.3%, 4.3%, 36.5%)
CIE-LABlab(40.52, 61.39, -35.66)
CIE-LCHlch(40.52, 70.99, 329.85°)
OKLaboklab(51.37% 0.1745 -0.0984)
OKLCHoklch(51.37% 0.2 330.6)
XYZxyz(21.5754, 11.5672, 32.1003)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2289B #28A22F
analogous
#6C28A2 #A2289B #A2285E
triadic
#A2289B #9BA228 #289BA2
tetradic
#A2289B #A26C28 #28A22F #285EA2
square
#A2289B #A26C28 #28A22F #285EA2
split-complementary
#A2289B #5EA228 #28A26C
monochromatic
#40103D #711C6C #A2289B #CE39C6 #DA6AD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2289B#FFFFFF#000000##FFFFFF
##A2289B1.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)
#1A559E
Deuteranopia (green-blind)
#4E6598
Tritanopia (blue-blind)
#A83860
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a2289b;
/* rgb */ color: rgb(162, 40, 155);
/* oklch */ color: oklch(51.4% 0.200 330.6);
Tailwind
colors: {
  custom: {
    50: '#c170b9',
    500: '#a2289b',
    950: '#000000',
  },
}
SCSS
$custom: #a2289b;
$custom-light: #c170b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a2289b",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 303.443,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51374,
    "c": 0.20031,
    "h": 330.6
  },
  "luminance": 0.11566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2289B

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

Preview Lab → · Contrast checker → · Palette generator →

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