#AD38B7#AD38B7

#AD38B7 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.210 H 324.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AD38B7
RGBrgb(173, 56, 183)
HSLhsl(295, 53%, 47%)
HSVhsv(295, 69%, 72%)
CMYKcmyk(5.5%, 69.4%, 0%, 28.2%)
CIE-LABlab(45.82, 63.02, -43.79)
CIE-LCHlch(45.82, 76.74, 325.20°)
OKLaboklab(56.02% 0.171 -0.1218)
OKLCHoklch(56.02% 0.21 324.5)
XYZxyz(27.1943, 15.1332, 46.2792)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD38B7 #42B738
analogous
#6E38B7 #AD38B7 #B73881
triadic
#AD38B7 #B7AD38 #38B7AD
tetradic
#AD38B7 #B76E38 #42B738 #3881B7
square
#AD38B7 #B76E38 #42B738 #3881B7
split-complementary
#AD38B7 #81B738 #38B76E
monochromatic
#541B59 #812A88 #AD38B7 #C55ECE #D68DDC

Accessibility & contrast

On white

5.22
#AD38B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AD38B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD38B7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD38B7#FFFFFF#000000##FFFFFF
##AD38B71.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1663BB
Deuteranopia (green-blind)
#5071B4
Tritanopia (blue-blind)
#B14D74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ad38b7;
/* rgb */ color: rgb(173, 56, 183);
/* oklch */ color: oklch(56.0% 0.210 324.5);
Tailwind
colors: {
  custom: {
    50: '#c979cd',
    500: '#ad38b7',
    950: '#000000',
  },
}
SCSS
$custom: #ad38b7;
$custom-light: #c979cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ad38b7",
  "rgb": {
    "r": 173,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 295.276,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56022,
    "c": 0.20996,
    "h": 324.5
  },
  "luminance": 0.15131
}

Semantic roles & 50–950 ramp

primary
#AD38B7
secondary
#89C784
accent
#DD4B57
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AD38B7

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

Preview Lab → · Contrast checker → · Palette generator →

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