#A23B97#A23B97

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

Color values

HEX#A23B97
RGBrgb(162, 59, 151)
HSLhsl(306, 47%, 43%)
HSVhsv(306, 64%, 64%)
CMYKcmyk(0%, 63.6%, 6.8%, 36.5%)
CIE-LABlab(42.83, 53.64, -29.61)
CIE-LCHlch(42.83, 61.27, 331.10°)
OKLaboklab(52.98% 0.1537 -0.0811)
OKLCHoklch(52.98% 0.174 332.2)
XYZxyz(22.0502, 13.0453, 30.6288)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23B97 #3BA246
analogous
#793BA2 #A23B97 #A23B63
triadic
#A23B97 #97A23B #3B97A2
tetradic
#A23B97 #A2793B #3BA246 #3B63A2
square
#A23B97 #A2793B #3BA246 #3B63A2
split-complementary
#A23B97 #63A23B #3BA279
monochromatic
#481A43 #752B6D #A23B97 #C258B7 #D385CA

Accessibility & contrast

On white

5.82
#A23B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A23B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23B97
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23B97#FFFFFF#000000##FFFFFF
##A23B971.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9A
Deuteranopia (green-blind)
#596A94
Tritanopia (blue-blind)
#A94463
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a23b97;
/* rgb */ color: rgb(162, 59, 151);
/* oklch */ color: oklch(53.0% 0.174 332.2);
Tailwind
colors: {
  custom: {
    50: '#c078b6',
    500: '#a23b97',
    950: '#000000',
  },
}
SCSS
$custom: #a23b97;
$custom-light: #c078b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23b97",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 306.408,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52976,
    "c": 0.17379,
    "h": 332.2
  },
  "luminance": 0.13044
}

Semantic roles & 50–950 ramp

primary
#A23B97
secondary
#7CBD83
accent
#D66052
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A23B97

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

Preview Lab → · Contrast checker → · Palette generator →

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