#AD38B6#AD38B6

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

Color values

HEX#AD38B6
RGBrgb(173, 56, 182)
HSLhsl(296, 53%, 47%)
HSVhsv(296, 69%, 71%)
CMYKcmyk(4.9%, 69.2%, 0%, 28.6%)
CIE-LABlab(45.76, 62.85, -43.30)
CIE-LCHlch(45.76, 76.32, 325.44°)
OKLaboklab(55.96% 0.171 -0.1204)
OKLCHoklch(55.96% 0.209 324.9)
XYZxyz(27.0906, 15.0917, 45.7330)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD38B6 #41B638
analogous
#6E38B6 #AD38B6 #B63880
triadic
#AD38B6 #B6AD38 #38B6AD
tetradic
#AD38B6 #B66E38 #41B638 #3880B6
square
#AD38B6 #B66E38 #41B638 #3880B6
split-complementary
#AD38B6 #80B638 #38B66E
monochromatic
#541B58 #812A87 #AD38B6 #C55ECD #D68DDC

Accessibility & contrast

On white

5.23
#AD38B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AD38B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD38B6
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD38B6#FFFFFF#000000##FFFFFF
##AD38B61.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1963BA
Deuteranopia (green-blind)
#5071B3
Tritanopia (blue-blind)
#B14C73
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ad38b6;
/* rgb */ color: rgb(173, 56, 182);
/* oklch */ color: oklch(56.0% 0.209 324.9);
Tailwind
colors: {
  custom: {
    50: '#c979cc',
    500: '#ad38b6',
    950: '#000000',
  },
}
SCSS
$custom: #ad38b6;
$custom-light: #c979cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ad38b6",
  "rgb": {
    "r": 173,
    "g": 56,
    "b": 182
  },
  "hsl": {
    "h": 295.714,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55963,
    "c": 0.20913,
    "h": 324.9
  },
  "luminance": 0.1509
}

Semantic roles & 50–950 ramp

primary
#AD38B6
secondary
#88C684
accent
#DC4B56
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AD38B6

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

Preview Lab → · Contrast checker → · Palette generator →

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