#AD51CC#AD51CC

#AD51CC is a mid, vivid purple. Relative luminance 0.191; OKLCH L 60.0% C 0.196 H 316.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AD51CC
RGBrgb(173, 81, 204)
HSLhsl(285, 55%, 56%)
HSVhsv(285, 60%, 80%)
CMYKcmyk(15.2%, 60.3%, 0%, 20%)
CIE-LABlab(50.84, 56.35, -47.97)
CIE-LCHlch(50.84, 74.00, 319.59°)
OKLaboklab(60.03% 0.1425 -0.1342)
OKLCHoklch(60.03% 0.196 316.7)
XYZxyz(31.0735, 19.1299, 59.1706)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD51CC #70CC51
analogous
#6F51CC #AD51CC #CC51AD
triadic
#AD51CC #CCAD51 #51CCAD
tetradic
#AD51CC #CC6F51 #70CC51 #51ADCC
square
#AD51CC #CC6F51 #70CC51 #51ADCC
split-complementary
#AD51CC #ADCC51 #51CC6F
monochromatic
#67257E #8E33AD #AD51CC #C380DA #DAB0E8

Accessibility & contrast

On white

4.35
#AD51CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#AD51CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD51CC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD51CC#FFFFFF#000000##000000
##AD51CC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D73D0
Deuteranopia (green-blind)
#537CC9
Tritanopia (blue-blind)
#AC6687
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ad51cc;
/* rgb */ color: rgb(173, 81, 204);
/* oklch */ color: oklch(60.0% 0.196 316.7);
Tailwind
colors: {
  custom: {
    50: '#c887dc',
    500: '#ad51cc',
    950: '#000000',
  },
}
SCSS
$custom: #ad51cc;
$custom-light: #c887dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ad51cc",
  "rgb": {
    "r": 173,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 284.878,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60031,
    "c": 0.19572,
    "h": 316.7
  },
  "luminance": 0.19129
}

Semantic roles & 50–950 ramp

primary
#AD51CC
secondary
#B0D6A3
accent
#DE4A6F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AD51CC

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

Preview Lab → · Contrast checker → · Palette generator →

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