#AD51C8#AD51C8

#AD51C8 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.8% C 0.192 H 317.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AD51C8
RGBrgb(173, 81, 200)
HSLhsl(286, 52%, 55%)
HSVhsv(286, 60%, 78%)
CMYKcmyk(13.5%, 59.5%, 0%, 21.6%)
CIE-LABlab(50.62, 55.54, -46.03)
CIE-LCHlch(50.62, 72.13, 320.35°)
OKLaboklab(59.8% 0.1424 -0.1285)
OKLCHoklch(59.8% 0.192 317.9)
XYZxyz(30.5999, 18.9404, 56.6764)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD51C8 #6CC851
analogous
#7251C8 #AD51C8 #C851A7
triadic
#AD51C8 #C8AD51 #51C8AD
tetradic
#AD51C8 #C87251 #6CC851 #51A7C8
square
#AD51C8 #C87251 #6CC851 #51A7C8
split-complementary
#AD51C8 #A7C851 #51C872
monochromatic
#662679 #8D35A7 #AD51C8 #C380D7 #D9AEE5

Accessibility & contrast

On white

4.39
#AD51C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#AD51C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD51C8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD51C8#FFFFFF#000000##000000
##AD51C81.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3273CC
Deuteranopia (green-blind)
#567BC5
Tritanopia (blue-blind)
#AC6585
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ad51c8;
/* rgb */ color: rgb(173, 81, 200);
/* oklch */ color: oklch(59.8% 0.192 317.9);
Tailwind
colors: {
  custom: {
    50: '#c887d9',
    500: '#ad51c8',
    950: '#000000',
  },
}
SCSS
$custom: #ad51c8;
$custom-light: #c887d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad51c8",
  "rgb": {
    "r": 173,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 286.387,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59798,
    "c": 0.1918,
    "h": 317.9
  },
  "luminance": 0.18939
}

Semantic roles & 50–950 ramp

primary
#AD51C8
secondary
#ADD3A1
accent
#DB4C6D
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #AD51C8

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

Preview Lab → · Contrast checker → · Palette generator →

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