#AD51DC#AD51DC

#AD51DC is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.0% C 0.212 H 312.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AD51DC
RGBrgb(173, 81, 220)
HSLhsl(280, 67%, 59%)
HSVhsv(280, 63%, 86%)
CMYKcmyk(21.4%, 63.2%, 0%, 13.7%)
CIE-LABlab(51.77, 59.65, -55.61)
CIE-LCHlch(51.77, 81.55, 317.01°)
OKLaboklab(61% 0.1424 -0.1565)
OKLCHoklch(61% 0.212 312.3)
XYZxyz(33.0920, 19.9373, 69.8013)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD51DC #80DC51
analogous
#6851DC #AD51DC #DC51C6
triadic
#AD51DC #DCAD51 #51DCAD
tetradic
#AD51DC #DC6851 #80DC51 #51C6DC
square
#AD51DC #DC6851 #80DC51 #51C6DC
split-complementary
#AD51DC #C6DC51 #51DC68
monochromatic
#6D1E95 #9228C8 #AD51DC #C584E6 #DDB7F0

Accessibility & contrast

On white

4.21
#AD51DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#AD51DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD51DC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD51DC#FFFFFF#000000##000000
##AD51DC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C77E0
Deuteranopia (green-blind)
#467DD9
Tritanopia (blue-blind)
#A86C8F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ad51dc;
/* rgb */ color: rgb(173, 81, 220);
/* oklch */ color: oklch(61.0% 0.212 312.3);
Tailwind
colors: {
  custom: {
    50: '#c987e7',
    500: '#ad51dc',
    950: '#000000',
  },
}
SCSS
$custom: #ad51dc;
$custom-light: #c987e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad51dc",
  "rgb": {
    "r": 173,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 279.712,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61001,
    "c": 0.21159,
    "h": 312.3
  },
  "luminance": 0.19936
}

Semantic roles & 50–950 ramp

primary
#AD51DC
secondary
#BCE0A9
accent
#E93E78
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AD51DC

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

Preview Lab → · Contrast checker → · Palette generator →

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