#AD52CC#AD52CC

#AD52CC is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.2% C 0.194 H 316.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AD52CC
RGBrgb(173, 82, 204)
HSLhsl(285, 54%, 56%)
HSVhsv(285, 60%, 80%)
CMYKcmyk(15.2%, 59.8%, 0%, 20%)
CIE-LABlab(51.01, 55.87, -47.69)
CIE-LCHlch(51.01, 73.46, 319.52°)
OKLaboklab(60.16% 0.1412 -0.1334)
OKLCHoklch(60.16% 0.194 316.6)
XYZxyz(31.1483, 19.2796, 59.1956)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD52CC #71CC52
analogous
#7052CC #AD52CC #CC52AE
triadic
#AD52CC #CCAD52 #52CCAD
tetradic
#AD52CC #CC7052 #71CC52 #52AECC
square
#AD52CC #CC7052 #71CC52 #52AECC
split-complementary
#AD52CC #AECC52 #52CC70
monochromatic
#68257E #8F33AE #AD52CC #C381DA #DAB1E8

Accessibility & contrast

On white

4.32
#AD52CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AD52CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD52CC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD52CC#FFFFFF#000000##000000
##AD52CC1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D0
Deuteranopia (green-blind)
#547CC9
Tritanopia (blue-blind)
#AC6787
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ad52cc;
/* rgb */ color: rgb(173, 82, 204);
/* oklch */ color: oklch(60.2% 0.194 316.6);
Tailwind
colors: {
  custom: {
    50: '#c887dc',
    500: '#ad52cc',
    950: '#000000',
  },
}
SCSS
$custom: #ad52cc;
$custom-light: #c887dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ad52cc",
  "rgb": {
    "r": 173,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 284.754,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60157,
    "c": 0.19427,
    "h": 316.6
  },
  "luminance": 0.19278
}

Semantic roles & 50–950 ramp

primary
#AD52CC
secondary
#B1D6A4
accent
#DE4A70
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AD52CC

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

Preview Lab → · Contrast checker → · Palette generator →

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