#AD23A2#AD23A2

#AD23A2 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.216 H 331.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AD23A2
RGBrgb(173, 35, 162)
HSLhsl(305, 66%, 41%)
HSVhsv(305, 80%, 68%)
CMYKcmyk(0%, 79.8%, 6.4%, 32.2%)
CIE-LABlab(42.30, 66.28, -36.93)
CIE-LCHlch(42.30, 75.87, 330.88°)
OKLaboklab(53.13% 0.19 -0.1018)
OKLCHoklch(53.13% 0.216 331.8)
XYZxyz(24.3563, 12.6970, 35.3434)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD23A2 #23AD2E
analogous
#7323AD #AD23A2 #AD235D
triadic
#AD23A2 #A2AD23 #23A2AD
tetradic
#AD23A2 #AD7323 #23AD2E #235DAD
square
#AD23A2 #AD7323 #23AD2E #235DAD
split-complementary
#AD23A2 #5DAD23 #23AD73
monochromatic
#470E43 #7A1972 #AD23A2 #D637CA #E16AD7

Accessibility & contrast

On white

5.93
#AD23A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AD23A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD23A2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD23A2#FFFFFF#000000##FFFFFF
##AD23A21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A5
Deuteranopia (green-blind)
#536A9F
Tritanopia (blue-blind)
#B43562
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ad23a2;
/* rgb */ color: rgb(173, 35, 162);
/* oklch */ color: oklch(53.1% 0.216 331.8);
Tailwind
colors: {
  custom: {
    50: '#c970be',
    500: '#ad23a2',
    950: '#000000',
  },
}
SCSS
$custom: #ad23a2;
$custom-light: #c970be;
$custom-dark: #000000;
JSON
{
  "hex": "#ad23a2",
  "rgb": {
    "r": 173,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 304.783,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.53132,
    "c": 0.21555,
    "h": 331.8
  },
  "luminance": 0.12695
}

Semantic roles & 50–950 ramp

primary
#AD23A2
secondary
#65C76D
accent
#E94C3F
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AD23A2

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

Preview Lab → · Contrast checker → · Palette generator →

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