#AB71DE#AB71DE

#AB71DE is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.4% C 0.165 H 307.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AB71DE
RGBrgb(171, 113, 222)
HSLhsl(272, 62%, 66%)
HSVhsv(272, 49%, 87%)
CMYKcmyk(23%, 49.1%, 0%, 12.9%)
CIE-LABlab(57.79, 43.30, -47.15)
CIE-LCHlch(57.79, 64.02, 312.56°)
OKLaboklab(65.41% 0.0994 -0.132)
OKLCHoklch(65.41% 0.165 307)
XYZxyz(35.8819, 25.7425, 72.1716)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB71DE #A4DE71
analogous
#7471DE #AB71DE #DE71DA
triadic
#AB71DE #DEAB71 #71DEAB
tetradic
#AB71DE #DE7471 #A4DE71 #71DADE
square
#AB71DE #DE7471 #A4DE71 #71DADE
split-complementary
#AB71DE #DADE71 #71DE74
monochromatic
#6F28AD #8E3FD2 #AB71DE #C8A3EA #E6D4F5

Accessibility & contrast

On white

3.42
#AB71DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#AB71DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB71DE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB71DE#FFFFFF#000000##000000
##AB71DE1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5389E2
Deuteranopia (green-blind)
#638BDB
Tritanopia (blue-blind)
#A3849D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab71de;
/* rgb */ color: rgb(171, 113, 222);
/* oklch */ color: oklch(65.4% 0.165 307.0);
Tailwind
colors: {
  custom: {
    50: '#c69be9',
    500: '#ab71de',
    950: '#000000',
  },
}
SCSS
$custom: #ab71de;
$custom-light: #c69be9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab71de",
  "rgb": {
    "r": 171,
    "g": 113,
    "b": 222
  },
  "hsl": {
    "h": 271.927,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65405,
    "c": 0.16526,
    "h": 307
  },
  "luminance": 0.25742
}

Semantic roles & 50–950 ramp

primary
#AB71DE
secondary
#D4E8C3
accent
#CA1B6D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB71DE

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

Preview Lab → · Contrast checker → · Palette generator →

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