#AD71E7#AD71E7

#AD71E7 is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.1% C 0.176 H 305.6°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AD71E7
RGBrgb(173, 113, 231)
HSLhsl(271, 71%, 67%)
HSVhsv(271, 51%, 91%)
CMYKcmyk(25.1%, 51.1%, 0%, 9.4%)
CIE-LABlab(58.48, 45.90, -51.09)
CIE-LCHlch(58.48, 68.68, 311.93°)
OKLaboklab(66.11% 0.1027 -0.1435)
OKLCHoklch(66.11% 0.176 305.6)
XYZxyz(37.5595, 26.4643, 78.7152)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD71E7 #ABE771
analogous
#7271E7 #AD71E7 #E771E6
triadic
#AD71E7 #E7AD71 #71E7AD
tetradic
#AD71E7 #E77271 #ABE771 #71E6E7
square
#AD71E7 #E77271 #ABE771 #71E6E7
split-complementary
#AD71E7 #E6E771 #71E772
monochromatic
#7020BE #8F3DDE #AD71E7 #CBA5F0 #E9DAF9

Accessibility & contrast

On white

3.34
#AD71E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#AD71E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD71E7
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD71E7#FFFFFF#000000##000000
##AD71E71.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8BEB
Deuteranopia (green-blind)
#5F8DE4
Tritanopia (blue-blind)
#A486A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ad71e7;
/* rgb */ color: rgb(173, 113, 231);
/* oklch */ color: oklch(66.1% 0.176 305.6);
Tailwind
colors: {
  custom: {
    50: '#c89bef',
    500: '#ad71e7',
    950: '#000000',
  },
}
SCSS
$custom: #ad71e7;
$custom-light: #c89bef;
$custom-dark: #000000;
JSON
{
  "hex": "#ad71e7",
  "rgb": {
    "r": 173,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 270.508,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66113,
    "c": 0.17643,
    "h": 305.6
  },
  "luminance": 0.26464
}

Semantic roles & 50–950 ramp

primary
#AD71E7
secondary
#DAECC7
accent
#D31271
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AD71E7

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

Preview Lab → · Contrast checker → · Palette generator →

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