#AD38D2#AD38D2

#AD38D2 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.233 H 316.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AD38D2
RGBrgb(173, 56, 210)
HSLhsl(286, 63%, 52%)
HSVhsv(286, 73%, 82%)
CMYKcmyk(17.6%, 73.3%, 0%, 17.6%)
CIE-LABlab(47.45, 67.98, -56.84)
CIE-LCHlch(47.45, 88.61, 320.10°)
OKLaboklab(57.71% 0.1693 -0.16)
OKLCHoklch(57.71% 0.233 316.6)
XYZxyz(30.2788, 16.3670, 62.5245)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD38D2 #5DD238
analogous
#6038D2 #AD38D2 #D238AA
triadic
#AD38D2 #D2AD38 #38D2AD
tetradic
#AD38D2 #D26038 #5DD238 #38AAD2
square
#AD38D2 #D26038 #5DD238 #38AAD2
split-complementary
#AD38D2 #AAD238 #38D260
monochromatic
#5F1A75 #8826A7 #AD38D2 #C26ADD #D69CE9

Accessibility & contrast

On white

4.91
#AD38D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AD38D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD38D2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD38D2#FFFFFF#000000##FFFFFF
##AD38D21.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#3974CF
Tritanopia (blue-blind)
#AB5983
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ad38d2;
/* rgb */ color: rgb(173, 56, 210);
/* oklch */ color: oklch(57.7% 0.233 316.6);
Tailwind
colors: {
  custom: {
    50: '#ca7ae1',
    500: '#ad38d2',
    950: '#000000',
  },
}
SCSS
$custom: #ad38d2;
$custom-light: #ca7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#ad38d2",
  "rgb": {
    "r": 173,
    "g": 56,
    "b": 210
  },
  "hsl": {
    "h": 285.584,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57713,
    "c": 0.23289,
    "h": 316.6
  },
  "luminance": 0.16366
}

Semantic roles & 50–950 ramp

primary
#AD38D2
secondary
#A1D591
accent
#E64269
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AD38D2

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

Preview Lab → · Contrast checker → · Palette generator →

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