#AD38C4#AD38C4

#AD38C4 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.8% C 0.221 H 320.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AD38C4
RGBrgb(173, 56, 196)
HSLhsl(290, 56%, 49%)
HSVhsv(290, 71%, 77%)
CMYKcmyk(11.7%, 71.4%, 0%, 23.1%)
CIE-LABlab(46.58, 65.36, -50.16)
CIE-LCHlch(46.58, 82.39, 322.50°)
OKLaboklab(56.81% 0.1705 -0.1404)
OKLCHoklch(56.81% 0.221 320.5)
XYZxyz(28.6104, 15.6996, 53.7372)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD38C4 #4FC438
analogous
#6738C4 #AD38C4 #C43895
triadic
#AD38C4 #C4AD38 #38C4AD
tetradic
#AD38C4 #C46738 #4FC438 #3895C4
square
#AD38C4 #C46738 #4FC438 #3895C4
split-complementary
#AD38C4 #95C438 #38C467
monochromatic
#591D65 #832A94 #AD38C4 #C166D3 #D496E1

Accessibility & contrast

On white

5.07
#AD38C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AD38C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD38C4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD38C4#FFFFFF#000000##FFFFFF
##AD38C41.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#4672C1
Tritanopia (blue-blind)
#AE537B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ad38c4;
/* rgb */ color: rgb(173, 56, 196);
/* oklch */ color: oklch(56.8% 0.221 320.5);
Tailwind
colors: {
  custom: {
    50: '#c979d6',
    500: '#ad38c4',
    950: '#000000',
  },
}
SCSS
$custom: #ad38c4;
$custom-light: #c979d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ad38c4",
  "rgb": {
    "r": 173,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 290.143,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56811,
    "c": 0.22089,
    "h": 320.5
  },
  "luminance": 0.15698
}

Semantic roles & 50–950 ramp

primary
#AD38C4
secondary
#96CC8C
accent
#DF4962
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AD38C4

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

Preview Lab → · Contrast checker → · Palette generator →

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