#AB71F4#AB71F4

#AB71F4 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.7% C 0.191 H 301.9°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AB71F4
RGBrgb(171, 113, 244)
HSLhsl(267, 86%, 70%)
HSVhsv(267, 54%, 96%)
CMYKcmyk(29.9%, 53.7%, 0%, 4.3%)
CIE-LABlab(58.97, 48.46, -57.54)
CIE-LCHlch(58.97, 75.23, 310.10°)
OKLaboklab(66.66% 0.101 -0.1624)
OKLCHoklch(66.66% 0.191 301.9)
XYZxyz(39.0251, 26.9998, 88.7259)
Luminance0.2700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71F4 #BAF471
analogous
#7178F4 #AB71F4 #ED71F4
triadic
#AB71F4 #F4AB71 #71F4AB
tetradic
#AB71F4 #F47178 #BAF471 #71F4ED
square
#AB71F4 #F47178 #BAF471 #71F4ED
split-complementary
#AB71F4 #F4ED71 #78F471
monochromatic
#6A11DA #8938F0 #AB71F4 #CDAAF8 #EEE3FD

Accessibility & contrast

On white

3.28
#AB71F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#AB71F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71F4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71F4#FFFFFF#000000##000000
##AB71F41.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#408DF8
Deuteranopia (green-blind)
#538DF1
Tritanopia (blue-blind)
#9D8AA8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab71f4;
/* rgb */ color: rgb(171, 113, 244);
/* oklch */ color: oklch(66.7% 0.191 301.9);
Tailwind
colors: {
  custom: {
    50: '#c79bf8',
    500: '#ab71f4',
    950: '#000000',
  },
}
SCSS
$custom: #ab71f4;
$custom-light: #c79bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71f4",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 266.565,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.66664,
    "c": 0.19125,
    "h": 301.9
  },
  "luminance": 0.27
}

Semantic roles & 50–950 ramp

primary
#AB71F4
secondary
#E2F3CE
accent
#E20380
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB71F4

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

Preview Lab → · Contrast checker → · Palette generator →

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