#AD71EB#AD71EB

#AD71EB is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.3% C 0.181 H 304.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AD71EB
RGBrgb(173, 113, 235)
HSLhsl(270, 75%, 68%)
HSVhsv(270, 52%, 92%)
CMYKcmyk(26.4%, 51.9%, 0%, 7.8%)
CIE-LABlab(58.69, 46.83, -52.98)
CIE-LCHlch(58.69, 70.71, 311.47°)
OKLaboklab(66.34% 0.103 -0.149)
OKLCHoklch(66.34% 0.181 304.7)
XYZxyz(38.1309, 26.6928, 81.7246)
Luminance0.2669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD71EB #AFEB71
analogous
#7172EB #AD71EB #EA71EB
triadic
#AD71EB #EBAD71 #71EBAD
tetradic
#AD71EB #EB7172 #AFEB71 #71EBEA
square
#AD71EB #EB7172 #AFEB71 #71EBEA
split-complementary
#AD71EB #EBEA71 #72EB71
monochromatic
#6F1CC6 #8E3BE3 #AD71EB #CCA7F3 #EBDCFA

Accessibility & contrast

On white

3.31
#AD71EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#AD71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD71EB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD71EB#FFFFFF#000000##000000
##AD71EB1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEF
Deuteranopia (green-blind)
#5C8DE8
Tritanopia (blue-blind)
#A287A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ad71eb;
/* rgb */ color: rgb(173, 113, 235);
/* oklch */ color: oklch(66.3% 0.181 304.7);
Tailwind
colors: {
  custom: {
    50: '#c89bf2',
    500: '#ad71eb',
    950: '#000000',
  },
}
SCSS
$custom: #ad71eb;
$custom-light: #c89bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ad71eb",
  "rgb": {
    "r": 173,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 269.508,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66341,
    "c": 0.18113,
    "h": 304.7
  },
  "luminance": 0.26693
}

Semantic roles & 50–950 ramp

primary
#AD71EB
secondary
#DCEEC9
accent
#D70E74
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AD71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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