#AD71FB#AD71FB

#AD71FB is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.3% C 0.200 H 301.3°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AD71FB
RGBrgb(173, 113, 251)
HSLhsl(266, 95%, 71%)
HSVhsv(266, 55%, 98%)
CMYKcmyk(31.1%, 55%, 0%, 1.6%)
CIE-LABlab(59.58, 50.62, -60.43)
CIE-LCHlch(59.58, 78.83, 309.95°)
OKLaboklab(67.29% 0.1038 -0.1708)
OKLCHoklch(67.29% 0.2 301.3)
XYZxyz(40.5472, 27.6594, 94.4507)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD71FB #BFFB71
analogous
#717AFB #AD71FB #F271FB
triadic
#AD71FB #FBAD71 #71FBAD
tetradic
#AD71FB #FB717A #BFFB71 #71FBF2
square
#AD71FB #FB717A #BFFB71 #71FBF2
split-complementary
#AD71FB #FBF271 #7AFB71
monochromatic
#6A07EB #8B35F9 #AD71FB #CFADFD #EEE1FE

Accessibility & contrast

On white

3.21
#AD71FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#AD71FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD71FB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD71FB#FFFFFF#000000##000000
##AD71FB1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#388FFF
Deuteranopia (green-blind)
#4E8FF8
Tritanopia (blue-blind)
#9D8CAB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ad71fb;
/* rgb */ color: rgb(173, 113, 251);
/* oklch */ color: oklch(67.3% 0.200 301.3);
Tailwind
colors: {
  custom: {
    50: '#c99cfd',
    500: '#ad71fb',
    950: '#000000',
  },
}
SCSS
$custom: #ad71fb;
$custom-light: #c99cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ad71fb",
  "rgb": {
    "r": 173,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 266.087,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67286,
    "c": 0.19984,
    "h": 301.3
  },
  "luminance": 0.2766
}

Semantic roles & 50–950 ramp

primary
#AD71FB
secondary
#E6F6D2
accent
#E60082
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AD71FB

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

Preview Lab → · Contrast checker → · Palette generator →

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