#AD71F2#AD71F2

#AD71F2 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.7% C 0.189 H 303.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AD71F2
RGBrgb(173, 113, 242)
HSLhsl(268, 83%, 70%)
HSVhsv(268, 53%, 95%)
CMYKcmyk(28.5%, 53.3%, 0%, 5.1%)
CIE-LABlab(59.07, 48.47, -56.26)
CIE-LCHlch(59.07, 74.27, 310.75°)
OKLaboklab(66.75% 0.1034 -0.1586)
OKLCHoklch(66.75% 0.189 303.1)
XYZxyz(39.1621, 27.1053, 87.1559)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD71F2 #B6F271
analogous
#7176F2 #AD71F2 #EE71F2
triadic
#AD71F2 #F2AD71 #71F2AD
tetradic
#AD71F2 #F27176 #B6F271 #71F2EE
square
#AD71F2 #F27176 #B6F271 #71F2EE
split-complementary
#AD71F2 #F2EE71 #76F271
monochromatic
#6E14D5 #8D39ED #AD71F2 #CDA9F7 #EEE1FC

Accessibility & contrast

On white

3.27
#AD71F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#AD71F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD71F2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD71F2#FFFFFF#000000##000000
##AD71F21.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#438DF6
Deuteranopia (green-blind)
#568EEF
Tritanopia (blue-blind)
#A089A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ad71f2;
/* rgb */ color: rgb(173, 113, 242);
/* oklch */ color: oklch(66.7% 0.189 303.1);
Tailwind
colors: {
  custom: {
    50: '#c99cf7',
    500: '#ad71f2',
    950: '#000000',
  },
}
SCSS
$custom: #ad71f2;
$custom-light: #c99cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ad71f2",
  "rgb": {
    "r": 173,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 267.907,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66747,
    "c": 0.18932,
    "h": 303.1
  },
  "luminance": 0.27105
}

Semantic roles & 50–950 ramp

primary
#AD71F2
secondary
#E1F2CD
accent
#E0067A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AD71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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