#AD51CB#AD51CB

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

Color values

HEX#AD51CB
RGBrgb(173, 81, 203)
HSLhsl(285, 54%, 56%)
HSVhsv(285, 60%, 80%)
CMYKcmyk(14.8%, 60.1%, 0%, 20.4%)
CIE-LABlab(50.78, 56.14, -47.49)
CIE-LCHlch(50.78, 73.53, 319.78°)
OKLaboklab(59.97% 0.1425 -0.1328)
OKLCHoklch(59.97% 0.195 317)
XYZxyz(30.9539, 19.0821, 58.5410)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD51CB #6FCB51
analogous
#7051CB #AD51CB #CB51AC
triadic
#AD51CB #CBAD51 #51CBAD
tetradic
#AD51CB #CB7051 #6FCB51 #51ACCB
square
#AD51CB #CB7051 #6FCB51 #51ACCB
split-complementary
#AD51CB #ACCB51 #51CB70
monochromatic
#67257C #8E33AC #AD51CB #C380D9 #D9AFE7

Accessibility & contrast

On white

4.36
#AD51CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#AD51CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD51CB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD51CB#FFFFFF#000000##000000
##AD51CB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F73CF
Deuteranopia (green-blind)
#547CC8
Tritanopia (blue-blind)
#AC6687
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ad51cb;
/* rgb */ color: rgb(173, 81, 203);
/* oklch */ color: oklch(60.0% 0.195 317.0);
Tailwind
colors: {
  custom: {
    50: '#c887db',
    500: '#ad51cb',
    950: '#000000',
  },
}
SCSS
$custom: #ad51cb;
$custom-light: #c887db;
$custom-dark: #000000;
JSON
{
  "hex": "#ad51cb",
  "rgb": {
    "r": 173,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 285.246,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59972,
    "c": 0.19474,
    "h": 317
  },
  "luminance": 0.19081
}

Semantic roles & 50–950 ramp

primary
#AD51CB
secondary
#AFD5A3
accent
#DD4A6F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AD51CB

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

Preview Lab → · Contrast checker → · Palette generator →

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