#AB71FA#AB71FA

#AB71FA is a light, vivid violet. Relative luminance 0.274; OKLCH L 67.0% C 0.198 H 300.7°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AB71FA
RGBrgb(171, 113, 250)
HSLhsl(265, 93%, 71%)
HSVhsv(265, 55%, 98%)
CMYKcmyk(31.6%, 54.8%, 0%, 2%)
CIE-LABlab(59.32, 49.91, -60.31)
CIE-LCHlch(59.32, 78.28, 309.61°)
OKLaboklab(67.03% 0.1013 -0.1705)
OKLCHoklch(67.03% 0.198 300.7)
XYZxyz(39.9510, 27.3701, 93.6021)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71FA #C0FA71
analogous
#717BFA #AB71FA #EF71FA
triadic
#AB71FA #FAAB71 #71FAAB
tetradic
#AB71FA #FA717B #C0FA71 #71FAEF
square
#AB71FA #FA717B #C0FA71 #71FAEF
split-complementary
#AB71FA #FAEF71 #7BFA71
monochromatic
#6708E8 #8836F8 #AB71FA #CEACFC #EEE1FE

Accessibility & contrast

On white

3.24
#AB71FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#AB71FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71FA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71FA#FFFFFF#000000##000000
##AB71FA1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#388EFF
Deuteranopia (green-blind)
#4D8EF7
Tritanopia (blue-blind)
#9B8CAB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab71fa;
/* rgb */ color: rgb(171, 113, 250);
/* oklch */ color: oklch(67.0% 0.198 300.7);
Tailwind
colors: {
  custom: {
    50: '#c89cfd',
    500: '#ab71fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab71fa;
$custom-light: #c89cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71fa",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 265.401,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67025,
    "c": 0.19831,
    "h": 300.7
  },
  "luminance": 0.2737
}

Semantic roles & 50–950 ramp

primary
#AB71FA
secondary
#E6F5D1
accent
#E60084
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AB71FA

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

Preview Lab → · Contrast checker → · Palette generator →

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