#AB71F3#AB71F3

#AB71F3 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.6% C 0.190 H 302.1°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AB71F3
RGBrgb(171, 113, 243)
HSLhsl(267, 84%, 70%)
HSVhsv(267, 53%, 95%)
CMYKcmyk(29.6%, 53.5%, 0%, 4.7%)
CIE-LABlab(58.92, 48.22, -57.08)
CIE-LCHlch(58.92, 74.72, 310.19°)
OKLaboklab(66.6% 0.101 -0.161)
OKLCHoklch(66.6% 0.19 302.1)
XYZxyz(38.8737, 26.9392, 87.9284)
Luminance0.2694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71F3 #B9F371
analogous
#7178F3 #AB71F3 #EC71F3
triadic
#AB71F3 #F3AB71 #71F3AB
tetradic
#AB71F3 #F37178 #B9F371 #71F3EC
square
#AB71F3 #F37178 #B9F371 #71F3EC
split-complementary
#AB71F3 #F3EC71 #78F371
monochromatic
#6A12D7 #8A39EE #AB71F3 #CCA9F8 #EEE2FD

Accessibility & contrast

On white

3.29
#AB71F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#AB71F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71F3
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71F3#FFFFFF#000000##000000
##AB71F31.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#418DF7
Deuteranopia (green-blind)
#538DF0
Tritanopia (blue-blind)
#9D8AA7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab71f3;
/* rgb */ color: rgb(171, 113, 243);
/* oklch */ color: oklch(66.6% 0.190 302.1);
Tailwind
colors: {
  custom: {
    50: '#c79bf8',
    500: '#ab71f3',
    950: '#000000',
  },
}
SCSS
$custom: #ab71f3;
$custom-light: #c79bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71f3",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 243
  },
  "hsl": {
    "h": 266.769,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66604,
    "c": 0.19007,
    "h": 302.1
  },
  "luminance": 0.26939
}

Semantic roles & 50–950 ramp

primary
#AB71F3
secondary
#E2F2CE
accent
#E1057F
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB71F3

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

Preview Lab → · Contrast checker → · Palette generator →

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