#AD71F8#AD71F8

#AD71F8 is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.1% C 0.196 H 301.9°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AD71F8
RGBrgb(173, 113, 248)
HSLhsl(267, 91%, 71%)
HSVhsv(267, 54%, 97%)
CMYKcmyk(30.2%, 54.4%, 0%, 2.7%)
CIE-LABlab(59.41, 49.90, -59.05)
CIE-LCHlch(59.41, 77.31, 310.20°)
OKLaboklab(67.1% 0.1037 -0.1667)
OKLCHoklch(67.1% 0.196 301.9)
XYZxyz(40.0781, 27.4717, 91.9799)
Luminance0.2747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD71F8 #BCF871
analogous
#7178F8 #AD71F8 #F171F8
triadic
#AD71F8 #F8AD71 #71F8AD
tetradic
#AD71F8 #F87178 #BCF871 #71F8F1
square
#AD71F8 #F87178 #BCF871 #71F8F1
split-complementary
#AD71F8 #F8F171 #78F871
monochromatic
#6B0BE3 #8B37F5 #AD71F8 #CFABFB #EEE2FE

Accessibility & contrast

On white

3.23
#AD71F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#AD71F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD71F8
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD71F8#FFFFFF#000000##000000
##AD71F81.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8EFD
Deuteranopia (green-blind)
#518FF5
Tritanopia (blue-blind)
#9E8BAA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ad71f8;
/* rgb */ color: rgb(173, 113, 248);
/* oklch */ color: oklch(67.1% 0.196 301.9);
Tailwind
colors: {
  custom: {
    50: '#c99cfb',
    500: '#ad71f8',
    950: '#000000',
  },
}
SCSS
$custom: #ad71f8;
$custom-light: #c99cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ad71f8",
  "rgb": {
    "r": 173,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 266.667,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67104,
    "c": 0.19634,
    "h": 301.9
  },
  "luminance": 0.27472
}

Semantic roles & 50–950 ramp

primary
#AD71F8
secondary
#E4F5D0
accent
#E6007F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #AD71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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