#AD23AD#AD23AD

#AD23AD is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.223 H 328.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AD23AD
RGBrgb(173, 35, 173)
HSLhsl(300, 66%, 41%)
HSVhsv(300, 80%, 68%)
CMYKcmyk(0%, 79.8%, 0%, 32.2%)
CIE-LABlab(42.92, 67.99, -42.51)
CIE-LCHlch(42.92, 80.18, 327.99°)
OKLaboklab(53.77% 0.1898 -0.1179)
OKLCHoklch(53.77% 0.223 328.1)
XYZxyz(25.3771, 13.1054, 40.7201)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD23AD #23AD23
analogous
#6823AD #AD23AD #AD2368
triadic
#AD23AD #ADAD23 #23ADAD
tetradic
#AD23AD #AD6823 #23AD23 #2368AD
square
#AD23AD #AD6823 #23AD23 #2368AD
split-complementary
#AD23AD #68AD23 #23AD68
monochromatic
#470E47 #7A197A #AD23AD #D637D6 #E16AE1

Accessibility & contrast

On white

5.80
#AD23AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AD23AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD23AD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD23AD#FFFFFF#000000##FFFFFF
##AD23AD1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#4C6BAA
Tritanopia (blue-blind)
#B33C69
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ad23ad;
/* rgb */ color: rgb(173, 35, 173);
/* oklch */ color: oklch(53.8% 0.223 328.1);
Tailwind
colors: {
  custom: {
    50: '#ca70c6',
    500: '#ad23ad',
    950: '#000000',
  },
}
SCSS
$custom: #ad23ad;
$custom-light: #ca70c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ad23ad",
  "rgb": {
    "r": 173,
    "g": 35,
    "b": 173
  },
  "hsl": {
    "h": 300,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.53771,
    "c": 0.22349,
    "h": 328.1
  },
  "luminance": 0.13103
}

Semantic roles & 50–950 ramp

primary
#AD23AD
secondary
#65C765
accent
#E93F3F
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AD23AD

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

Preview Lab → · Contrast checker → · Palette generator →

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