#AB91DB#AB91DB

#AB91DB is a light, moderate violet. Relative luminance 0.340; OKLCH L 70.8% C 0.109 H 299.8°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#AB91DB
RGBrgb(171, 145, 219)
HSLhsl(261, 51%, 71%)
HSVhsv(261, 34%, 86%)
CMYKcmyk(21.9%, 33.8%, 0%, 14.1%)
CIE-LABlab(64.98, 24.71, -34.20)
CIE-LCHlch(64.98, 42.19, 305.85°)
OKLaboklab(70.78% 0.0542 -0.0947)
OKLCHoklch(70.78% 0.109 299.8)
XYZxyz(39.7034, 34.0230, 71.4795)
Luminance0.3402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB91DB #C1DB91
analogous
#919CDB #AB91DB #D091DB
triadic
#AB91DB #DBAB91 #91DBAB
tetradic
#AB91DB #DB919C #C1DB91 #91DBD0
square
#AB91DB #DB919C #C1DB91 #91DBD0
split-complementary
#AB91DB #DBD091 #9CDB91
monochromatic
#673CB6 #8863CC #AB91DB #CEBFEA #EDE8F7

Accessibility & contrast

On white

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

On black

7.80
#AB91DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB91DB
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB91DB#FFFFFF#000000##000000
##AB91DB1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#809EDE
Deuteranopia (green-blind)
#849DD9
Tritanopia (blue-blind)
#A29DAC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ab91db;
/* rgb */ color: rgb(171, 145, 219);
/* oklch */ color: oklch(70.8% 0.109 299.8);
Tailwind
colors: {
  custom: {
    50: '#c5b1e6',
    500: '#ab91db',
    950: '#000000',
  },
}
SCSS
$custom: #ab91db;
$custom-light: #c5b1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab91db",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 219
  },
  "hsl": {
    "h": 261.081,
    "s": 50.685,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70782,
    "c": 0.10907,
    "h": 299.8
  },
  "luminance": 0.34023
}

Semantic roles & 50–950 ramp

primary
#AB91DB
secondary
#E7EEDA
accent
#BE2789
background
#FCFAFE
surface
#F8F5FC
border
#D1CFD5
text
#131016
muted
#827F84

Preview Lab

Preview with #AB91DB

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

Preview Lab → · Contrast checker → · Palette generator →

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