#AD38B2#AD38B2

#AD38B2 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.206 H 326.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#AD38B2
RGBrgb(173, 56, 178)
HSLhsl(298, 52%, 46%)
HSVhsv(298, 69%, 70%)
CMYKcmyk(2.8%, 68.5%, 0%, 30.2%)
CIE-LABlab(45.54, 62.15, -41.30)
CIE-LCHlch(45.54, 74.62, 326.39°)
OKLaboklab(55.73% 0.171 -0.1146)
OKLCHoklch(55.73% 0.206 326.2)
XYZxyz(26.6831, 14.9287, 43.5869)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD38B2 #3DB238
analogous
#7038B2 #AD38B2 #B2387A
triadic
#AD38B2 #B2AD38 #38B2AD
tetradic
#AD38B2 #B27038 #3DB238 #387AB2
square
#AD38B2 #B27038 #3DB238 #387AB2
split-complementary
#AD38B2 #7AB238 #38B270
monochromatic
#531B55 #802983 #AD38B2 #C75CCC #D78ADA

Accessibility & contrast

On white

5.27
#AD38B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AD38B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD38B2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD38B2#FFFFFF#000000##FFFFFF
##AD38B21.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F62B5
Deuteranopia (green-blind)
#5371AF
Tritanopia (blue-blind)
#B14B71
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ad38b2;
/* rgb */ color: rgb(173, 56, 178);
/* oklch */ color: oklch(55.7% 0.206 326.2);
Tailwind
colors: {
  custom: {
    50: '#c979c9',
    500: '#ad38b2',
    950: '#000000',
  },
}
SCSS
$custom: #ad38b2;
$custom-light: #c979c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad38b2",
  "rgb": {
    "r": 173,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 297.541,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55731,
    "c": 0.20584,
    "h": 326.2
  },
  "luminance": 0.14927
}

Semantic roles & 50–950 ramp

primary
#AD38B2
secondary
#84C581
accent
#DC4C52
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AD38B2

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

Preview Lab → · Contrast checker → · Palette generator →

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