#AD4FA2#AD4FA2

#AD4FA2 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.5% C 0.160 H 332.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AD4FA2
RGBrgb(173, 79, 162)
HSLhsl(307, 37%, 49%)
HSVhsv(307, 54%, 68%)
CMYKcmyk(0%, 54.3%, 6.4%, 32.2%)
CIE-LABlab(48.37, 49.40, -27.41)
CIE-LCHlch(48.37, 56.50, 330.97°)
OKLaboklab(57.54% 0.1411 -0.0748)
OKLCHoklch(57.54% 0.16 332.1)
XYZxyz(26.5511, 17.0866, 36.0750)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD4FA2 #4FAD5A
analogous
#894FAD #AD4FA2 #AD4F73
triadic
#AD4FA2 #A2AD4F #4FA2AD
tetradic
#AD4FA2 #AD894F #4FAD5A #4F73AD
square
#AD4FA2 #AD894F #4FAD5A #4F73AD
split-complementary
#AD4FA2 #73AD4F #4FAD89
monochromatic
#592953 #833C7B #AD4FA2 #C178B9 #D4A2CF

Accessibility & contrast

On white

4.75
#AD4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AD4FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD4FA2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD4FA2#FFFFFF#000000##FFFFFF
##AD4FA21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6AA5
Deuteranopia (green-blind)
#68789F
Tritanopia (blue-blind)
#B45671
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ad4fa2;
/* rgb */ color: rgb(173, 79, 162);
/* oklch */ color: oklch(57.5% 0.160 332.1);
Tailwind
colors: {
  custom: {
    50: '#c885be',
    500: '#ad4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #ad4fa2;
$custom-light: #c885be;
$custom-dark: #000000;
JSON
{
  "hex": "#ad4fa2",
  "rgb": {
    "r": 173,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 307.021,
    "s": 37.302,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57535,
    "c": 0.15972,
    "h": 332.1
  },
  "luminance": 0.17085
}

Semantic roles & 50–950 ramp

primary
#AD4FA2
secondary
#96C29B
accent
#CD685B
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AD4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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