#AD38B4#AD38B4

#AD38B4 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.8% C 0.207 H 325.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AD38B4
RGBrgb(173, 56, 180)
HSLhsl(297, 53%, 46%)
HSVhsv(297, 69%, 71%)
CMYKcmyk(3.9%, 68.9%, 0%, 29.4%)
CIE-LABlab(45.65, 62.50, -42.30)
CIE-LCHlch(45.65, 75.47, 325.91°)
OKLaboklab(55.85% 0.171 -0.1175)
OKLCHoklch(55.85% 0.207 325.5)
XYZxyz(26.8854, 15.0096, 44.6522)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD38B4 #3FB438
analogous
#6F38B4 #AD38B4 #B4387D
triadic
#AD38B4 #B4AD38 #38B4AD
tetradic
#AD38B4 #B46F38 #3FB438 #387DB4
square
#AD38B4 #B46F38 #3FB438 #387DB4
split-complementary
#AD38B4 #7DB438 #38B46F
monochromatic
#531B57 #802985 #AD38B4 #C65DCD #D78BDB

Accessibility & contrast

On white

5.25
#AD38B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AD38B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD38B4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD38B4#FFFFFF#000000##FFFFFF
##AD38B41.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C63B8
Deuteranopia (green-blind)
#5271B1
Tritanopia (blue-blind)
#B14C72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ad38b4;
/* rgb */ color: rgb(173, 56, 180);
/* oklch */ color: oklch(55.8% 0.207 325.5);
Tailwind
colors: {
  custom: {
    50: '#c979cb',
    500: '#ad38b4',
    950: '#000000',
  },
}
SCSS
$custom: #ad38b4;
$custom-light: #c979cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ad38b4",
  "rgb": {
    "r": 173,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 296.613,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55846,
    "c": 0.20749,
    "h": 325.5
  },
  "luminance": 0.15008
}

Semantic roles & 50–950 ramp

primary
#AD38B4
secondary
#86C582
accent
#DC4C54
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AD38B4

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

Preview Lab → · Contrast checker → · Palette generator →

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