#AB91DC#AB91DC

#AB91DC is a light, moderate violet. Relative luminance 0.341; OKLCH L 70.8% C 0.110 H 299.5°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#AB91DC
RGBrgb(171, 145, 220)
HSLhsl(261, 52%, 72%)
HSVhsv(261, 34%, 86%)
CMYKcmyk(22.3%, 34.1%, 0%, 13.7%)
CIE-LABlab(65.02, 24.94, -34.69)
CIE-LCHlch(65.02, 42.73, 305.72°)
OKLaboklab(70.83% 0.0544 -0.0961)
OKLCHoklch(70.83% 0.11 299.5)
XYZxyz(39.8354, 34.0759, 72.1749)
Luminance0.3408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB91DC #C2DC91
analogous
#919DDC #AB91DC #D191DC
triadic
#AB91DC #DCAB91 #91DCAB
tetradic
#AB91DC #DC919D #C2DC91 #91DCD1
square
#AB91DC #DC919D #C2DC91 #91DCD1
split-complementary
#AB91DC #DCD191 #9DDC91
monochromatic
#663BB8 #8863CD #AB91DC #CEBFEB #EDE8F8

Accessibility & contrast

On white

2.69
#AB91DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#AB91DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB91DC
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB91DC#FFFFFF#000000##000000
##AB91DC1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9EDF
Deuteranopia (green-blind)
#849DDA
Tritanopia (blue-blind)
#A29DAC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ab91dc;
/* rgb */ color: rgb(171, 145, 220);
/* oklch */ color: oklch(70.8% 0.110 299.5);
Tailwind
colors: {
  custom: {
    50: '#c5b1e7',
    500: '#ab91dc',
    950: '#000000',
  },
}
SCSS
$custom: #ab91dc;
$custom-light: #c5b1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab91dc",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 220
  },
  "hsl": {
    "h": 260.8,
    "s": 51.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70827,
    "c": 0.1104,
    "h": 299.5
  },
  "luminance": 0.34076
}

Semantic roles & 50–950 ramp

primary
#AB91DC
secondary
#E7EEDB
accent
#BF268A
background
#FCFAFE
surface
#F8F5FC
border
#D1CFD5
text
#131016
muted
#827F84

Preview Lab

Preview with #AB91DC

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

Preview Lab → · Contrast checker → · Palette generator →

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