#AD51BB#AD51BB

#AD51BB is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.1% C 0.179 H 322.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AD51BB
RGBrgb(173, 81, 187)
HSLhsl(292, 44%, 53%)
HSVhsv(292, 57%, 73%)
CMYKcmyk(7.5%, 56.7%, 0%, 26.7%)
CIE-LABlab(49.93, 52.99, -39.61)
CIE-LCHlch(49.93, 66.16, 323.22°)
OKLaboklab(59.07% 0.1416 -0.1099)
OKLCHoklch(59.07% 0.179 322.2)
XYZxyz(29.1447, 18.3584, 49.0124)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD51BB #5FBB51
analogous
#7851BB #AD51BB #BB5194
triadic
#AD51BB #BBAD51 #51BBAD
tetradic
#AD51BB #BB7851 #5FBB51 #5194BB
square
#AD51BB #BB7851 #5FBB51 #5194BB
split-complementary
#AD51BB #94BB51 #51BB78
monochromatic
#602969 #893A95 #AD51BB #C27DCC #D6A9DD

Accessibility & contrast

On white

4.50
#AD51BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#AD51BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD51BB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD51BB#FFFFFF#000000##000000
##AD51BB1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BE
Deuteranopia (green-blind)
#5E7AB8
Tritanopia (blue-blind)
#AF607E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ad51bb;
/* rgb */ color: rgb(173, 81, 187);
/* oklch */ color: oklch(59.1% 0.179 322.2);
Tailwind
colors: {
  custom: {
    50: '#c886d0',
    500: '#ad51bb',
    950: '#000000',
  },
}
SCSS
$custom: #ad51bb;
$custom-light: #c886d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ad51bb",
  "rgb": {
    "r": 173,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 292.075,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59071,
    "c": 0.17924,
    "h": 322.2
  },
  "luminance": 0.18357
}

Semantic roles & 50–950 ramp

primary
#AD51BB
secondary
#A3CB9D
accent
#D45465
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AD51BB

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

Preview Lab → · Contrast checker → · Palette generator →

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