#AD38D5#AD38D5

#AD38D5 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.235 H 315.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AD38D5
RGBrgb(173, 56, 213)
HSLhsl(285, 65%, 53%)
HSVhsv(285, 74%, 84%)
CMYKcmyk(18.8%, 73.7%, 0%, 16.5%)
CIE-LABlab(47.65, 68.56, -58.24)
CIE-LCHlch(47.65, 89.96, 319.65°)
OKLaboklab(57.91% 0.1689 -0.1641)
OKLCHoklch(57.91% 0.235 315.8)
XYZxyz(30.6561, 16.5179, 64.5113)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD38D5 #60D538
analogous
#5E38D5 #AD38D5 #D538AF
triadic
#AD38D5 #D5AD38 #38D5AD
tetradic
#AD38D5 #D55E38 #60D538 #38AFD5
square
#AD38D5 #D55E38 #60D538 #38AFD5
split-complementary
#AD38D5 #AFD538 #38D55E
monochromatic
#611A79 #8924AC #AD38D5 #C26BE0 #D79DEA

Accessibility & contrast

On white

4.88
#AD38D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AD38D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD38D5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD38D5#FFFFFF#000000##FFFFFF
##AD38D51.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#3574D2
Tritanopia (blue-blind)
#AA5A84
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ad38d5;
/* rgb */ color: rgb(173, 56, 213);
/* oklch */ color: oklch(57.9% 0.235 315.8);
Tailwind
colors: {
  custom: {
    50: '#ca7ae3',
    500: '#ad38d5',
    950: '#000000',
  },
}
SCSS
$custom: #ad38d5;
$custom-light: #ca7ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#ad38d5",
  "rgb": {
    "r": 173,
    "g": 56,
    "b": 213
  },
  "hsl": {
    "h": 284.713,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57913,
    "c": 0.23549,
    "h": 315.8
  },
  "luminance": 0.16517
}

Semantic roles & 50–950 ramp

primary
#AD38D5
secondary
#A4D692
accent
#E8406B
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140A15
muted
#827C84

Preview Lab

Preview with #AD38D5

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

Preview Lab → · Contrast checker → · Palette generator →

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