#AD339B#AD339B

#AD339B is a mid, vivid purple. Relative luminance 0.136; OKLCH L 54.0% C 0.194 H 334.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AD339B
RGBrgb(173, 51, 155)
HSLhsl(309, 54%, 44%)
HSVhsv(309, 71%, 68%)
CMYKcmyk(0%, 70.5%, 10.4%, 32.2%)
CIE-LABlab(43.68, 60.23, -30.55)
CIE-LCHlch(43.68, 67.54, 333.10°)
OKLaboklab(54.01% 0.1751 -0.0835)
OKLCHoklch(54.01% 0.194 334.5)
XYZxyz(24.3340, 13.6205, 32.3514)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD339B #33AD45
analogous
#8233AD #AD339B #AD335E
triadic
#AD339B #9BAD33 #339BAD
tetradic
#AD339B #AD8233 #33AD45 #335EAD
square
#AD339B #AD8233 #33AD45 #335EAD
split-complementary
#AD339B #5EAD33 #33AD82
monochromatic
#4E1746 #7E2571 #AD339B #CC51BA #DA81CD

Accessibility & contrast

On white

5.64
#AD339B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AD339B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD339B
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD339B#FFFFFF#000000##FFFFFF
##AD339B1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325C9E
Deuteranopia (green-blind)
#5C6E98
Tritanopia (blue-blind)
#B53D63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ad339b;
/* rgb */ color: rgb(173, 51, 155);
/* oklch */ color: oklch(54.0% 0.194 334.5);
Tailwind
colors: {
  custom: {
    50: '#c976b9',
    500: '#ad339b',
    950: '#000000',
  },
}
SCSS
$custom: #ad339b;
$custom-light: #c976b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad339b",
  "rgb": {
    "r": 173,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 308.852,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54006,
    "c": 0.19398,
    "h": 334.5
  },
  "luminance": 0.13618
}

Semantic roles & 50–950 ramp

primary
#AD339B
secondary
#79C384
accent
#DE604A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AD339B

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

Preview Lab → · Contrast checker → · Palette generator →

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