#A2389E#A2389E

#A2389E is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.0% C 0.184 H 329.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A2389E
RGBrgb(162, 56, 158)
HSLhsl(302, 49%, 43%)
HSVhsv(302, 65%, 64%)
CMYKcmyk(0%, 65.4%, 2.5%, 36.5%)
CIE-LABlab(42.73, 56.08, -33.97)
CIE-LCHlch(42.73, 65.57, 328.79°)
OKLaboklab(53.02% 0.158 -0.0936)
OKLCHoklch(53.02% 0.184 329.3)
XYZxyz(22.4858, 12.9799, 33.6622)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2389E #38A23C
analogous
#7138A2 #A2389E #A23869
triadic
#A2389E #9EA238 #389EA2
tetradic
#A2389E #A27138 #38A23C #3869A2
square
#A2389E #A27138 #38A23C #3869A2
split-complementary
#A2389E #69A238 #38A271
monochromatic
#471945 #752872 #A2389E #C453BF #D381D0

Accessibility & contrast

On white

5.84
#A2389E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A2389E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2389E
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2389E#FFFFFF#000000##FFFFFF
##A2389E1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA1
Deuteranopia (green-blind)
#546A9B
Tritanopia (blue-blind)
#A84566
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a2389e;
/* rgb */ color: rgb(162, 56, 158);
/* oklch */ color: oklch(53.0% 0.184 329.3);
Tailwind
colors: {
  custom: {
    50: '#c177bb',
    500: '#a2389e',
    950: '#000000',
  },
}
SCSS
$custom: #a2389e;
$custom-light: #c177bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a2389e",
  "rgb": {
    "r": 162,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 302.264,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5302,
    "c": 0.18363,
    "h": 329.3
  },
  "luminance": 0.12978
}

Semantic roles & 50–950 ramp

primary
#A2389E
secondary
#79BD7B
accent
#D85550
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A2389E

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

Preview Lab → · Contrast checker → · Palette generator →

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