#AB71FC#AB71FC

#AB71FC is a light, highly saturated violet. Relative luminance 0.275; OKLCH L 67.1% C 0.201 H 300.3°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AB71FC
RGBrgb(171, 113, 252)
HSLhsl(265, 96%, 72%)
HSVhsv(265, 55%, 99%)
CMYKcmyk(32.1%, 55.2%, 0%, 1.2%)
CIE-LABlab(59.43, 50.39, -61.23)
CIE-LCHlch(59.43, 79.30, 309.45°)
OKLaboklab(67.15% 0.1013 -0.1732)
OKLCHoklch(67.15% 0.201 300.3)
XYZxyz(40.2662, 27.4962, 95.2625)
Luminance0.2750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71FC #C2FC71
analogous
#717DFC #AB71FC #F171FC
triadic
#AB71FC #FCAB71 #71FCAB
tetradic
#AB71FC #FC717D #C2FC71 #71FCF1
square
#AB71FC #FC717D #C2FC71 #71FCF1
split-complementary
#AB71FC #FCF171 #7DFC71
monochromatic
#6605EE #8835FB #AB71FC #CEADFD #EDE1FE

Accessibility & contrast

On white

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

On black

6.50
#AB71FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71FC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71FC#FFFFFF#000000##000000
##AB71FC1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#368FFF
Deuteranopia (green-blind)
#4B8EF9
Tritanopia (blue-blind)
#9A8DAC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab71fc;
/* rgb */ color: rgb(171, 113, 252);
/* oklch */ color: oklch(67.1% 0.201 300.3);
Tailwind
colors: {
  custom: {
    50: '#c89cfe',
    500: '#ab71fc',
    950: '#000000',
  },
}
SCSS
$custom: #ab71fc;
$custom-light: #c89cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71fc",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 265.036,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67147,
    "c": 0.20065,
    "h": 300.3
  },
  "luminance": 0.27496
}

Semantic roles & 50–950 ramp

primary
#AB71FC
secondary
#E7F6D3
accent
#E60086
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AB71FC

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

Preview Lab → · Contrast checker → · Palette generator →

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