#AD38D3#AD38D3

#AD38D3 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.8% C 0.234 H 316.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AD38D3
RGBrgb(173, 56, 211)
HSLhsl(285, 64%, 52%)
HSVhsv(285, 73%, 83%)
CMYKcmyk(18%, 73.5%, 0%, 17.3%)
CIE-LABlab(47.52, 68.17, -57.31)
CIE-LCHlch(47.52, 89.06, 319.95°)
OKLaboklab(57.78% 0.1691 -0.1614)
OKLCHoklch(57.78% 0.234 316.3)
XYZxyz(30.4038, 16.4170, 63.1826)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD38D3 #5ED338
analogous
#5F38D3 #AD38D3 #D338AC
triadic
#AD38D3 #D3AD38 #38D3AD
tetradic
#AD38D3 #D35F38 #5ED338 #38ACD3
square
#AD38D3 #D35F38 #5ED338 #38ACD3
split-complementary
#AD38D3 #ACD338 #38D35F
monochromatic
#601A76 #8825A9 #AD38D3 #C26ADE #D69CE9

Accessibility & contrast

On white

4.90
#AD38D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AD38D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD38D3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD38D3#FFFFFF#000000##FFFFFF
##AD38D31.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#3874D0
Tritanopia (blue-blind)
#AB5983
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ad38d3;
/* rgb */ color: rgb(173, 56, 211);
/* oklch */ color: oklch(57.8% 0.234 316.3);
Tailwind
colors: {
  custom: {
    50: '#ca7ae1',
    500: '#ad38d3',
    950: '#000000',
  },
}
SCSS
$custom: #ad38d3;
$custom-light: #ca7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#ad38d3",
  "rgb": {
    "r": 173,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 285.29,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57779,
    "c": 0.23376,
    "h": 316.3
  },
  "luminance": 0.16416
}

Semantic roles & 50–950 ramp

primary
#AD38D3
secondary
#A2D592
accent
#E7416A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AD38D3

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

Preview Lab → · Contrast checker → · Palette generator →

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