#AB71F9#AB71F9

#AB71F9 is a light, vivid violet. Relative luminance 0.273; OKLCH L 67.0% C 0.197 H 300.9°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AB71F9
RGBrgb(171, 113, 249)
HSLhsl(266, 92%, 71%)
HSVhsv(266, 55%, 98%)
CMYKcmyk(31.3%, 54.6%, 0%, 2.4%)
CIE-LABlab(59.26, 49.66, -59.85)
CIE-LCHlch(59.26, 77.78, 309.68°)
OKLaboklab(66.96% 0.1012 -0.1692)
OKLCHoklch(66.96% 0.197 300.9)
XYZxyz(39.7946, 27.3075, 92.7785)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71F9 #BFF971
analogous
#717BF9 #AB71F9 #EF71F9
triadic
#AB71F9 #F9AB71 #71F9AB
tetradic
#AB71F9 #F9717B #BFF971 #71F9EF
square
#AB71F9 #F9717B #BFF971 #71F9EF
split-complementary
#AB71F9 #F9EF71 #7BF971
monochromatic
#680AE6 #8836F7 #AB71F9 #CEACFB #EEE2FE

Accessibility & contrast

On white

3.25
#AB71F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#AB71F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71F9
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71F9#FFFFFF#000000##000000
##AB71F91.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8EFE
Deuteranopia (green-blind)
#4E8EF6
Tritanopia (blue-blind)
#9B8CAA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab71f9;
/* rgb */ color: rgb(171, 113, 249);
/* oklch */ color: oklch(67.0% 0.197 300.9);
Tailwind
colors: {
  custom: {
    50: '#c89cfc',
    500: '#ab71f9',
    950: '#000000',
  },
}
SCSS
$custom: #ab71f9;
$custom-light: #c89cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71f9",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 265.588,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66964,
    "c": 0.19714,
    "h": 300.9
  },
  "luminance": 0.27308
}

Semantic roles & 50–950 ramp

primary
#AB71F9
secondary
#E6F5D1
accent
#E60084
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB71F9

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

Preview Lab → · Contrast checker → · Palette generator →

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