#AD51DD#AD51DD

#AD51DD is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.1% C 0.213 H 312.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AD51DD
RGBrgb(173, 81, 221)
HSLhsl(279, 67%, 59%)
HSVhsv(279, 63%, 87%)
CMYKcmyk(21.7%, 63.3%, 0%, 13.3%)
CIE-LABlab(51.83, 59.86, -56.08)
CIE-LCHlch(51.83, 82.03, 316.87°)
OKLaboklab(61.06% 0.1423 -0.1579)
OKLCHoklch(61.06% 0.213 312)
XYZxyz(33.2248, 19.9904, 70.5009)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD51DD #81DD51
analogous
#6751DD #AD51DD #DD51C7
triadic
#AD51DD #DDAD51 #51DDAD
tetradic
#AD51DD #DD6751 #81DD51 #51C7DD
square
#AD51DD #DD6751 #81DD51 #51C7DD
split-complementary
#AD51DD #C7DD51 #51DD67
monochromatic
#6D1D96 #9227C9 #AD51DD #C584E7 #DDB7F1

Accessibility & contrast

On white

4.20
#AD51DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#AD51DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD51DD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD51DD#FFFFFF#000000##000000
##AD51DD1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0777E1
Deuteranopia (green-blind)
#457DDA
Tritanopia (blue-blind)
#A86C90
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ad51dd;
/* rgb */ color: rgb(173, 81, 221);
/* oklch */ color: oklch(61.1% 0.213 312.0);
Tailwind
colors: {
  custom: {
    50: '#c987e8',
    500: '#ad51dd',
    950: '#000000',
  },
}
SCSS
$custom: #ad51dd;
$custom-light: #c987e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ad51dd",
  "rgb": {
    "r": 173,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 279.429,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61064,
    "c": 0.21259,
    "h": 312
  },
  "luminance": 0.1999
}

Semantic roles & 50–950 ramp

primary
#AD51DD
secondary
#BCE0AA
accent
#EA3E79
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AD51DD

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

Preview Lab → · Contrast checker → · Palette generator →

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