#A2389C#A2389C

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

Color values

HEX#A2389C
RGBrgb(162, 56, 156)
HSLhsl(303, 49%, 43%)
HSVhsv(303, 65%, 64%)
CMYKcmyk(0%, 65.4%, 3.7%, 36.5%)
CIE-LABlab(42.63, 55.74, -32.93)
CIE-LCHlch(42.63, 64.74, 329.42°)
OKLaboklab(52.91% 0.1578 -0.0906)
OKLCHoklch(52.91% 0.182 330.1)
XYZxyz(22.3151, 12.9116, 32.7629)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2389C #38A23E
analogous
#7338A2 #A2389C #A23867
triadic
#A2389C #9CA238 #389CA2
tetradic
#A2389C #A27338 #38A23E #3867A2
square
#A2389C #A27338 #38A23E #3867A2
split-complementary
#A2389C #67A238 #38A273
monochromatic
#471944 #752870 #A2389C #C453BD #D381CF

Accessibility & contrast

On white

5.86
#A2389C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2389C
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2389C#FFFFFF#000000##FFFFFF
##A2389C1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9F
Deuteranopia (green-blind)
#556A99
Tritanopia (blue-blind)
#A84465
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a2389c;
/* rgb */ color: rgb(162, 56, 156);
/* oklch */ color: oklch(52.9% 0.182 330.1);
Tailwind
colors: {
  custom: {
    50: '#c177b9',
    500: '#a2389c',
    950: '#000000',
  },
}
SCSS
$custom: #a2389c;
$custom-light: #c177b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a2389c",
  "rgb": {
    "r": 162,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 303.396,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52911,
    "c": 0.18199,
    "h": 330.1
  },
  "luminance": 0.1291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2389C

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

Preview Lab → · Contrast checker → · Palette generator →

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