#A2289E#A2289E

#A2289E is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.5% C 0.203 H 329.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A2289E
RGBrgb(162, 40, 158)
HSLhsl(302, 60%, 40%)
HSVhsv(302, 75%, 64%)
CMYKcmyk(0%, 75.3%, 2.5%, 36.5%)
CIE-LABlab(40.69, 61.87, -37.21)
CIE-LCHlch(40.69, 72.20, 328.98°)
OKLaboklab(51.55% 0.1745 -0.1029)
OKLCHoklch(51.55% 0.203 329.5)
XYZxyz(21.8305, 11.6693, 33.4437)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2289E #28A22C
analogous
#6928A2 #A2289E #A22861
triadic
#A2289E #9EA228 #289EA2
tetradic
#A2289E #A26928 #28A22C #2861A2
square
#A2289E #A26928 #28A22C #2861A2
split-complementary
#A2289E #61A228 #28A269
monochromatic
#40103E #711C6E #A2289E #CE39C9 #DA6AD7

Accessibility & contrast

On white

6.30
#A2289E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2289E
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2289E#FFFFFF#000000##FFFFFF
##A2289E1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1556A1
Deuteranopia (green-blind)
#4C669B
Tritanopia (blue-blind)
#A83A61
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a2289e;
/* rgb */ color: rgb(162, 40, 158);
/* oklch */ color: oklch(51.5% 0.203 329.5);
Tailwind
colors: {
  custom: {
    50: '#c170bb',
    500: '#a2289e',
    950: '#000000',
  },
}
SCSS
$custom: #a2289e;
$custom-light: #c170bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a2289e",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 301.967,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51546,
    "c": 0.20257,
    "h": 329.5
  },
  "luminance": 0.11668
}

Semantic roles & 50–950 ramp

primary
#A2289E
secondary
#65C168
accent
#E44944
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A2289E

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

Preview Lab → · Contrast checker → · Palette generator →

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