#A2389B#A2389B

#A2389B is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.9% C 0.181 H 330.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A2389B
RGBrgb(162, 56, 155)
HSLhsl(304, 49%, 43%)
HSVhsv(304, 65%, 64%)
CMYKcmyk(0%, 65.4%, 4.3%, 36.5%)
CIE-LABlab(42.58, 55.57, -32.41)
CIE-LCHlch(42.58, 64.33, 329.75°)
OKLaboklab(52.86% 0.1577 -0.0891)
OKLCHoklch(52.86% 0.181 330.5)
XYZxyz(22.2308, 12.8779, 32.3188)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2389B #38A23F
analogous
#7438A2 #A2389B #A23866
triadic
#A2389B #9BA238 #389BA2
tetradic
#A2389B #A27438 #38A23F #3866A2
square
#A2389B #A27438 #38A23F #3866A2
split-complementary
#A2389B #66A238 #38A274
monochromatic
#471944 #75286F #A2389B #C453BC #D381CE

Accessibility & contrast

On white

5.87
#A2389B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A2389B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2389B
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2389B#FFFFFF#000000##FFFFFF
##A2389B1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305B9E
Deuteranopia (green-blind)
#566A98
Tritanopia (blue-blind)
#A84364
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a2389b;
/* rgb */ color: rgb(162, 56, 155);
/* oklch */ color: oklch(52.9% 0.181 330.5);
Tailwind
colors: {
  custom: {
    50: '#c177b9',
    500: '#a2389b',
    950: '#000000',
  },
}
SCSS
$custom: #a2389b;
$custom-light: #c177b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a2389b",
  "rgb": {
    "r": 162,
    "g": 56,
    "b": 155
  },
  "hsl": {
    "h": 303.962,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52858,
    "c": 0.18118,
    "h": 330.5
  },
  "luminance": 0.12876
}

Semantic roles & 50–950 ramp

primary
#A2389B
secondary
#79BD7D
accent
#D85950
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A2389B

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

Preview Lab → · Contrast checker → · Palette generator →

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