#A23D97#A23D97

#A23D97 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.2% C 0.171 H 332.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A23D97
RGBrgb(162, 61, 151)
HSLhsl(307, 45%, 44%)
HSVhsv(307, 62%, 64%)
CMYKcmyk(0%, 62.3%, 6.8%, 36.5%)
CIE-LABlab(43.14, 52.78, -29.12)
CIE-LCHlch(43.14, 60.28, 331.11°)
OKLaboklab(53.21% 0.1512 -0.0797)
OKLCHoklch(53.21% 0.171 332.2)
XYZxyz(22.1549, 13.2549, 30.6637)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23D97 #3DA248
analogous
#7A3DA2 #A23D97 #A23D64
triadic
#A23D97 #97A23D #3D97A2
tetradic
#A23D97 #A27A3D #3DA248 #3D64A2
square
#A23D97 #A27A3D #3DA248 #3D64A2
split-complementary
#A23D97 #64A23D #3DA27A
monochromatic
#491C44 #762C6E #A23D97 #C15BB6 #D287CA

Accessibility & contrast

On white

5.75
#A23D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#A23D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23D97
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23D97#FFFFFF#000000##FFFFFF
##A23D971.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9A
Deuteranopia (green-blind)
#5A6B94
Tritanopia (blue-blind)
#A94664
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a23d97;
/* rgb */ color: rgb(162, 61, 151);
/* oklch */ color: oklch(53.2% 0.171 332.2);
Tailwind
colors: {
  custom: {
    50: '#c079b6',
    500: '#a23d97',
    950: '#000000',
  },
}
SCSS
$custom: #a23d97;
$custom-light: #c079b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23d97",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 306.535,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53205,
    "c": 0.17093,
    "h": 332.2
  },
  "luminance": 0.13253
}

Semantic roles & 50–950 ramp

primary
#A23D97
secondary
#7EBC85
accent
#D56153
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A23D97

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

Preview Lab → · Contrast checker → · Palette generator →

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