#A2289F#A2289F

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

Color values

HEX#A2289F
RGBrgb(162, 40, 159)
HSLhsl(301, 60%, 40%)
HSVhsv(301, 75%, 64%)
CMYKcmyk(0%, 75.3%, 1.9%, 36.5%)
CIE-LABlab(40.74, 62.03, -37.72)
CIE-LCHlch(40.74, 72.60, 328.70°)
OKLaboklab(51.6% 0.1745 -0.1044)
OKLCHoklch(51.6% 0.203 329.1)
XYZxyz(21.9169, 11.7038, 33.8989)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2289F #28A22B
analogous
#6828A2 #A2289F #A22862
triadic
#A2289F #9FA228 #289FA2
tetradic
#A2289F #A26828 #28A22B #2862A2
square
#A2289F #A26828 #28A22B #2862A2
split-complementary
#A2289F #62A228 #28A268
monochromatic
#40103F #711C6F #A2289F #CE39CA #DA6AD7

Accessibility & contrast

On white

6.29
#A2289F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A2289F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2289F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2289F#FFFFFF#000000##FFFFFF
##A2289F1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1356A2
Deuteranopia (green-blind)
#4C669C
Tritanopia (blue-blind)
#A83A62
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a2289f;
/* rgb */ color: rgb(162, 40, 159);
/* oklch */ color: oklch(51.6% 0.203 329.1);
Tailwind
colors: {
  custom: {
    50: '#c170bc',
    500: '#a2289f',
    950: '#000000',
  },
}
SCSS
$custom: #a2289f;
$custom-light: #c170bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a2289f",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 301.475,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51604,
    "c": 0.20333,
    "h": 329.1
  },
  "luminance": 0.11702
}

Semantic roles & 50–950 ramp

primary
#A2289F
secondary
#65C167
accent
#E44844
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A2289F

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

Preview Lab → · Contrast checker → · Palette generator →

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