#A23A97#A23A97

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

Color values

HEX#A23A97
RGBrgb(162, 58, 151)
HSLhsl(306, 47%, 43%)
HSVhsv(306, 64%, 64%)
CMYKcmyk(0%, 64.2%, 6.8%, 36.5%)
CIE-LABlab(42.68, 54.07, -29.85)
CIE-LCHlch(42.68, 61.76, 331.10°)
OKLaboklab(52.86% 0.155 -0.0818)
OKLCHoklch(52.86% 0.175 332.2)
XYZxyz(21.9993, 12.9435, 30.6118)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23A97 #3AA245
analogous
#793AA2 #A23A97 #A23A63
triadic
#A23A97 #97A23A #3A97A2
tetradic
#A23A97 #A2793A #3AA245 #3A63A2
square
#A23A97 #A2793A #3AA245 #3A63A2
split-complementary
#A23A97 #63A23A #3AA279
monochromatic
#481A43 #752A6D #A23A97 #C357B7 #D384CA

Accessibility & contrast

On white

5.85
#A23A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A23A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23A97
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23A97#FFFFFF#000000##FFFFFF
##A23A971.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355B9A
Deuteranopia (green-blind)
#586A94
Tritanopia (blue-blind)
#A94363
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a23a97;
/* rgb */ color: rgb(162, 58, 151);
/* oklch */ color: oklch(52.9% 0.175 332.2);
Tailwind
colors: {
  custom: {
    50: '#c078b6',
    500: '#a23a97',
    950: '#000000',
  },
}
SCSS
$custom: #a23a97;
$custom-light: #c078b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23a97",
  "rgb": {
    "r": 162,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 306.346,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52865,
    "c": 0.17521,
    "h": 332.2
  },
  "luminance": 0.12942
}

Semantic roles & 50–950 ramp

primary
#A23A97
secondary
#7BBD82
accent
#D75F51
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23A97

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

Preview Lab → · Contrast checker → · Palette generator →

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