#AD339F#AD339F

#AD339F is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.2% C 0.197 H 333.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AD339F
RGBrgb(173, 51, 159)
HSLhsl(307, 54%, 44%)
HSVhsv(307, 71%, 68%)
CMYKcmyk(0%, 70.5%, 8.1%, 32.2%)
CIE-LABlab(43.88, 60.85, -32.64)
CIE-LCHlch(43.88, 69.05, 331.79°)
OKLaboklab(54.21% 0.1754 -0.0895)
OKLCHoklch(54.21% 0.197 333)
XYZxyz(24.6755, 13.7571, 34.1499)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD339F #33AD41
analogous
#7E33AD #AD339F #AD3362
triadic
#AD339F #9FAD33 #339FAD
tetradic
#AD339F #AD7E33 #33AD41 #3362AD
square
#AD339F #AD7E33 #33AD41 #3362AD
split-complementary
#AD339F #62AD33 #33AD7E
monochromatic
#4E1748 #7E2574 #AD339F #CC51BE #DA81D0

Accessibility & contrast

On white

5.60
#AD339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AD339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD339F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD339F#FFFFFF#000000##FFFFFF
##AD339F1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5DA2
Deuteranopia (green-blind)
#5A6E9C
Tritanopia (blue-blind)
#B53F65
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ad339f;
/* rgb */ color: rgb(173, 51, 159);
/* oklch */ color: oklch(54.2% 0.197 333.0);
Tailwind
colors: {
  custom: {
    50: '#c976bc',
    500: '#ad339f',
    950: '#000000',
  },
}
SCSS
$custom: #ad339f;
$custom-light: #c976bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ad339f",
  "rgb": {
    "r": 173,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 306.885,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54214,
    "c": 0.19694,
    "h": 333
  },
  "luminance": 0.13755
}

Semantic roles & 50–950 ramp

primary
#AD339F
secondary
#79C381
accent
#DE5B4A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AD339F

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

Preview Lab → · Contrast checker → · Palette generator →

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