#AD52D7#AD52D7

#AD52D7 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 60.8% C 0.205 H 313.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AD52D7
RGBrgb(173, 82, 215)
HSLhsl(281, 62%, 58%)
HSVhsv(281, 62%, 84%)
CMYKcmyk(19.5%, 61.9%, 0%, 15.7%)
CIE-LABlab(51.64, 58.14, -52.97)
CIE-LCHlch(51.64, 78.65, 317.66°)
OKLaboklab(60.82% 0.1413 -0.1488)
OKLCHoklch(60.82% 0.205 313.5)
XYZxyz(32.5145, 19.8261, 66.3908)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD52D7 #7CD752
analogous
#6A52D7 #AD52D7 #D752BE
triadic
#AD52D7 #D7AD52 #52D7AD
tetradic
#AD52D7 #D76A52 #7CD752 #52BED7
square
#AD52D7 #D76A52 #7CD752 #52BED7
split-complementary
#AD52D7 #BED752 #52D76A
monochromatic
#6B218E #912CC0 #AD52D7 #C584E2 #DCB5EE

Accessibility & contrast

On white

4.23
#AD52D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AD52D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD52D7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD52D7#FFFFFF#000000##000000
##AD52D71.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E76DB
Deuteranopia (green-blind)
#4B7DD4
Tritanopia (blue-blind)
#A96B8D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ad52d7;
/* rgb */ color: rgb(173, 82, 215);
/* oklch */ color: oklch(60.8% 0.205 313.5);
Tailwind
colors: {
  custom: {
    50: '#c988e4',
    500: '#ad52d7',
    950: '#000000',
  },
}
SCSS
$custom: #ad52d7;
$custom-light: #c988e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ad52d7",
  "rgb": {
    "r": 173,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 281.053,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60815,
    "c": 0.20522,
    "h": 313.5
  },
  "luminance": 0.19825
}

Semantic roles & 50–950 ramp

primary
#AD52D7
secondary
#B9DDA8
accent
#E64276
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AD52D7

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

Preview Lab → · Contrast checker → · Palette generator →

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