#AD71DF#AD71DF

#AD71DF is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.7% C 0.167 H 307.6°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AD71DF
RGBrgb(173, 113, 223)
HSLhsl(273, 63%, 66%)
HSVhsv(273, 49%, 87%)
CMYKcmyk(22.4%, 49.3%, 0%, 12.5%)
CIE-LABlab(58.06, 44.06, -47.28)
CIE-LCHlch(58.06, 64.63, 312.98°)
OKLaboklab(65.67% 0.1019 -0.1323)
OKLCHoklch(65.67% 0.167 307.6)
XYZxyz(36.4553, 26.0226, 72.9001)
Luminance0.2602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD71DF #A3DF71
analogous
#7671DF #AD71DF #DF71DA
triadic
#AD71DF #DFAD71 #71DFAD
tetradic
#AD71DF #DF7671 #A3DF71 #71DADF
square
#AD71DF #DF7671 #A3DF71 #71DADF
split-complementary
#AD71DF #DADF71 #71DF76
monochromatic
#7127AE #903FD4 #AD71DF #CAA3EA #E7D5F6

Accessibility & contrast

On white

3.38
#AD71DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#AD71DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD71DF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD71DF#FFFFFF#000000##000000
##AD71DF1.003.386.206.20
#FFFFFF3.381.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5389E3
Deuteranopia (green-blind)
#648CDC
Tritanopia (blue-blind)
#A6849E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ad71df;
/* rgb */ color: rgb(173, 113, 223);
/* oklch */ color: oklch(65.7% 0.167 307.6);
Tailwind
colors: {
  custom: {
    50: '#c89be9',
    500: '#ad71df',
    950: '#000000',
  },
}
SCSS
$custom: #ad71df;
$custom-light: #c89be9;
$custom-dark: #000000;
JSON
{
  "hex": "#ad71df",
  "rgb": {
    "r": 173,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 272.727,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65669,
    "c": 0.16704,
    "h": 307.6
  },
  "luminance": 0.26022
}

Semantic roles & 50–950 ramp

primary
#AD71DF
secondary
#D4E8C4
accent
#CB1B6B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AD71DF

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

Preview Lab → · Contrast checker → · Palette generator →

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