#AD38CA#AD38CA

#AD38CA is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.2% C 0.226 H 318.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AD38CA
RGBrgb(173, 56, 202)
HSLhsl(288, 58%, 51%)
HSVhsv(288, 72%, 79%)
CMYKcmyk(14.4%, 72.3%, 0%, 20.8%)
CIE-LABlab(46.95, 66.47, -53.04)
CIE-LCHlch(46.95, 85.04, 321.41°)
OKLaboklab(57.19% 0.1701 -0.1489)
OKLCHoklch(57.19% 0.226 318.8)
XYZxyz(29.3070, 15.9782, 57.4060)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD38CA #55CA38
analogous
#6438CA #AD38CA #CA389E
triadic
#AD38CA #CAAD38 #38CAAD
tetradic
#AD38CA #CA6438 #55CA38 #389ECA
square
#AD38CA #CA6438 #55CA38 #389ECA
split-complementary
#AD38CA #9ECA38 #38CA64
monochromatic
#5B1D6B #85299B #AD38CA #C168D7 #D599E4

Accessibility & contrast

On white

5.01
#AD38CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AD38CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD38CA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD38CA#FFFFFF#000000##FFFFFF
##AD38CA1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#4173C7
Tritanopia (blue-blind)
#AD557E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ad38ca;
/* rgb */ color: rgb(173, 56, 202);
/* oklch */ color: oklch(57.2% 0.226 318.8);
Tailwind
colors: {
  custom: {
    50: '#c97adb',
    500: '#ad38ca',
    950: '#000000',
  },
}
SCSS
$custom: #ad38ca;
$custom-light: #c97adb;
$custom-dark: #000000;
JSON
{
  "hex": "#ad38ca",
  "rgb": {
    "r": 173,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 288.082,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57192,
    "c": 0.22601,
    "h": 318.8
  },
  "luminance": 0.15977
}

Semantic roles & 50–950 ramp

primary
#AD38CA
secondary
#9BCF8E
accent
#E14765
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AD38CA

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

Preview Lab → · Contrast checker → · Palette generator →

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