#AD71D4#AD71D4

#AD71D4 is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.1% C 0.154 H 310.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AD71D4
RGBrgb(173, 113, 212)
HSLhsl(276, 54%, 64%)
HSVhsv(276, 47%, 83%)
CMYKcmyk(18.4%, 46.7%, 0%, 16.9%)
CIE-LABlab(57.51, 41.60, -41.96)
CIE-LCHlch(57.51, 59.08, 314.75°)
OKLaboklab(65.08% 0.1006 -0.1169)
OKLCHoklch(65.08% 0.154 310.7)
XYZxyz(35.0202, 25.4486, 65.3418)
Luminance0.2545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD71D4 #98D471
analogous
#7B71D4 #AD71D4 #D471C9
triadic
#AD71D4 #D4AD71 #71D4AD
tetradic
#AD71D4 #D47B71 #98D471 #71C9D4
square
#AD71D4 #D47B71 #98D471 #71C9D4
split-complementary
#AD71D4 #C9D471 #71D47B
monochromatic
#712F9C #9242C6 #AD71D4 #C8A0E2 #E3CFF0

Accessibility & contrast

On white

3.45
#AD71D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#AD71D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD71D4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD71D4#FFFFFF#000000##000000
##AD71D41.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A87D7
Deuteranopia (green-blind)
#6A8BD1
Tritanopia (blue-blind)
#A98198
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ad71d4;
/* rgb */ color: rgb(173, 113, 212);
/* oklch */ color: oklch(65.1% 0.154 310.7);
Tailwind
colors: {
  custom: {
    50: '#c79be1',
    500: '#ad71d4',
    950: '#000000',
  },
}
SCSS
$custom: #ad71d4;
$custom-light: #c79be1;
$custom-dark: #000000;
JSON
{
  "hex": "#ad71d4",
  "rgb": {
    "r": 173,
    "g": 113,
    "b": 212
  },
  "hsl": {
    "h": 276.364,
    "s": 53.514,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65081,
    "c": 0.1542,
    "h": 310.7
  },
  "luminance": 0.25448
}

Semantic roles & 50–950 ramp

primary
#AD71D4
secondary
#CDE2BF
accent
#C12562
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AD71D4

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

Preview Lab → · Contrast checker → · Palette generator →

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