#AD38C5#AD38C5

#AD38C5 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.9% C 0.222 H 320.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AD38C5
RGBrgb(173, 56, 197)
HSLhsl(290, 56%, 50%)
HSVhsv(290, 72%, 77%)
CMYKcmyk(12.2%, 71.6%, 0%, 22.7%)
CIE-LABlab(46.64, 65.54, -50.64)
CIE-LCHlch(46.64, 82.83, 322.31°)
OKLaboklab(56.87% 0.1704 -0.1418)
OKLCHoklch(56.87% 0.222 320.2)
XYZxyz(28.7246, 15.7453, 54.3386)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD38C5 #50C538
analogous
#6638C5 #AD38C5 #C53897
triadic
#AD38C5 #C5AD38 #38C5AD
tetradic
#AD38C5 #C56638 #50C538 #3897C5
square
#AD38C5 #C56638 #50C538 #3897C5
split-complementary
#AD38C5 #97C538 #38C566
monochromatic
#591D66 #832A95 #AD38C5 #C167D4 #D496E1

Accessibility & contrast

On white

5.06
#AD38C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AD38C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD38C5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD38C5#FFFFFF#000000##FFFFFF
##AD38C51.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#4573C2
Tritanopia (blue-blind)
#AE537B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ad38c5;
/* rgb */ color: rgb(173, 56, 197);
/* oklch */ color: oklch(56.9% 0.222 320.2);
Tailwind
colors: {
  custom: {
    50: '#c979d7',
    500: '#ad38c5',
    950: '#000000',
  },
}
SCSS
$custom: #ad38c5;
$custom-light: #c979d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad38c5",
  "rgb": {
    "r": 173,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 289.787,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56874,
    "c": 0.22174,
    "h": 320.2
  },
  "luminance": 0.15744
}

Semantic roles & 50–950 ramp

primary
#AD38C5
secondary
#97CD8C
accent
#DF4962
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AD38C5

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

Preview Lab → · Contrast checker → · Palette generator →

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