#AB71F1#AB71F1

#AB71F1 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.5% C 0.188 H 302.5°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AB71F1
RGBrgb(171, 113, 241)
HSLhsl(267, 82%, 69%)
HSVhsv(267, 53%, 95%)
CMYKcmyk(29%, 53.1%, 0%, 5.5%)
CIE-LABlab(58.81, 47.74, -56.15)
CIE-LCHlch(58.81, 73.70, 310.38°)
OKLaboklab(66.49% 0.1009 -0.1583)
OKLCHoklch(66.49% 0.188 302.5)
XYZxyz(38.5733, 26.8190, 86.3465)
Luminance0.2682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71F1 #B7F171
analogous
#7177F1 #AB71F1 #EB71F1
triadic
#AB71F1 #F1AB71 #71F1AB
tetradic
#AB71F1 #F17177 #B7F171 #71F1EB
square
#AB71F1 #F17177 #B7F171 #71F1EB
split-complementary
#AB71F1 #F1EB71 #77F171
monochromatic
#6B15D3 #8A39EC #AB71F1 #CCA9F6 #EDE0FC

Accessibility & contrast

On white

3.30
#AB71F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#AB71F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71F1
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71F1#FFFFFF#000000##000000
##AB71F11.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#438CF5
Deuteranopia (green-blind)
#558DEE
Tritanopia (blue-blind)
#9E89A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab71f1;
/* rgb */ color: rgb(171, 113, 241);
/* oklch */ color: oklch(66.5% 0.188 302.5);
Tailwind
colors: {
  custom: {
    50: '#c79bf6',
    500: '#ab71f1',
    950: '#000000',
  },
}
SCSS
$custom: #ab71f1;
$custom-light: #c79bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71f1",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 241
  },
  "hsl": {
    "h": 267.188,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66486,
    "c": 0.18771,
    "h": 302.5
  },
  "luminance": 0.26819
}

Semantic roles & 50–950 ramp

primary
#AB71F1
secondary
#E1F1CC
accent
#DE077D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB71F1

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

Preview Lab → · Contrast checker → · Palette generator →

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