#AD71DC#AD71DC

#AD71DC is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.5% C 0.164 H 308.4°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AD71DC
RGBrgb(173, 113, 220)
HSLhsl(274, 60%, 65%)
HSVhsv(274, 49%, 86%)
CMYKcmyk(21.4%, 48.6%, 0%, 13.7%)
CIE-LABlab(57.91, 43.39, -45.84)
CIE-LCHlch(57.91, 63.11, 313.43°)
OKLaboklab(65.51% 0.1016 -0.1281)
OKLCHoklch(65.51% 0.164 308.4)
XYZxyz(36.0545, 25.8623, 70.7888)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD71DC #A0DC71
analogous
#7771DC #AD71DC #DC71D5
triadic
#AD71DC #DCAD71 #71DCAD
tetradic
#AD71DC #DC7771 #A0DC71 #71D5DC
square
#AD71DC #DC7771 #A0DC71 #71D5DC
split-complementary
#AD71DC #D5DC71 #71DC77
monochromatic
#712AA9 #9140D0 #AD71DC #C9A2E8 #E6D3F4

Accessibility & contrast

On white

3.40
#AD71DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#AD71DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD71DC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD71DC#FFFFFF#000000##000000
##AD71DC1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5589E0
Deuteranopia (green-blind)
#668CD9
Tritanopia (blue-blind)
#A7839C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ad71dc;
/* rgb */ color: rgb(173, 113, 220);
/* oklch */ color: oklch(65.5% 0.164 308.4);
Tailwind
colors: {
  custom: {
    50: '#c89be7',
    500: '#ad71dc',
    950: '#000000',
  },
}
SCSS
$custom: #ad71dc;
$custom-light: #c89be7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad71dc",
  "rgb": {
    "r": 173,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 273.645,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65506,
    "c": 0.16354,
    "h": 308.4
  },
  "luminance": 0.25862
}

Semantic roles & 50–950 ramp

primary
#AD71DC
secondary
#D2E6C2
accent
#C81D68
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AD71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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