#AD38C9#AD38C9

#AD38C9 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.1% C 0.225 H 319.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AD38C9
RGBrgb(173, 56, 201)
HSLhsl(288, 57%, 50%)
HSVhsv(288, 72%, 79%)
CMYKcmyk(13.9%, 72.1%, 0%, 21.2%)
CIE-LABlab(46.88, 66.29, -52.56)
CIE-LCHlch(46.88, 84.60, 321.59°)
OKLaboklab(57.13% 0.1701 -0.1475)
OKLCHoklch(57.13% 0.225 319.1)
XYZxyz(29.1890, 15.9310, 56.7845)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD38C9 #54C938
analogous
#6538C9 #AD38C9 #C9389C
triadic
#AD38C9 #C9AD38 #38C9AD
tetradic
#AD38C9 #C96538 #54C938 #389CC9
square
#AD38C9 #C96538 #54C938 #389CC9
split-complementary
#AD38C9 #9CC938 #38C965
monochromatic
#5B1D6A #842A9A #AD38C9 #C168D6 #D598E3

Accessibility & contrast

On white

5.02
#AD38C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AD38C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD38C9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD38C9#FFFFFF#000000##FFFFFF
##AD38C91.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CD
Deuteranopia (green-blind)
#4273C6
Tritanopia (blue-blind)
#AD557D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ad38c9;
/* rgb */ color: rgb(173, 56, 201);
/* oklch */ color: oklch(57.1% 0.225 319.1);
Tailwind
colors: {
  custom: {
    50: '#c97ada',
    500: '#ad38c9',
    950: '#000000',
  },
}
SCSS
$custom: #ad38c9;
$custom-light: #c97ada;
$custom-dark: #000000;
JSON
{
  "hex": "#ad38c9",
  "rgb": {
    "r": 173,
    "g": 56,
    "b": 201
  },
  "hsl": {
    "h": 288.414,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57128,
    "c": 0.22516,
    "h": 319.1
  },
  "luminance": 0.1593
}

Semantic roles & 50–950 ramp

primary
#AD38C9
secondary
#9BCF8E
accent
#E14765
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AD38C9

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

Preview Lab → · Contrast checker → · Palette generator →

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