#AB71FB#AB71FB

#AB71FB is a light, vivid violet. Relative luminance 0.274; OKLCH L 67.1% C 0.199 H 300.5°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AB71FB
RGBrgb(171, 113, 251)
HSLhsl(265, 95%, 71%)
HSVhsv(265, 55%, 98%)
CMYKcmyk(31.9%, 55%, 0%, 1.6%)
CIE-LABlab(59.37, 50.15, -60.77)
CIE-LCHlch(59.37, 78.79, 309.53°)
OKLaboklab(67.09% 0.1013 -0.1719)
OKLCHoklch(67.09% 0.199 300.5)
XYZxyz(40.1082, 27.4330, 94.4301)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71FB #C1FB71
analogous
#717CFB #AB71FB #F071FB
triadic
#AB71FB #FBAB71 #71FBAB
tetradic
#AB71FB #FB717C #C1FB71 #71FBF0
square
#AB71FB #FB717C #C1FB71 #71FBF0
split-complementary
#AB71FB #FBF071 #7CFB71
monochromatic
#6707EB #8835F9 #AB71FB #CEADFD #EDE1FE

Accessibility & contrast

On white

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

On black

6.49
#AB71FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71FB
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71FB#FFFFFF#000000##000000
##AB71FB1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab71fb;
/* rgb */ color: rgb(171, 113, 251);
/* oklch */ color: oklch(67.1% 0.199 300.5);
Tailwind
colors: {
  custom: {
    50: '#c89cfd',
    500: '#ab71fb',
    950: '#000000',
  },
}
SCSS
$custom: #ab71fb;
$custom-light: #c89cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71fb",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 265.217,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67086,
    "c": 0.19948,
    "h": 300.5
  },
  "luminance": 0.27433
}

Semantic roles & 50–950 ramp

primary
#AB71FB
secondary
#E7F6D2
accent
#E60085
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AB71FB

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

Preview Lab → · Contrast checker → · Palette generator →

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