#AB91CB#AB91CB

#AB91CB is a light, moderate violet. Relative luminance 0.332; OKLCH L 70.1% C 0.088 H 304.7°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#AB91CB
RGBrgb(171, 145, 203)
HSLhsl(267, 36%, 68%)
HSVhsv(267, 29%, 80%)
CMYKcmyk(15.8%, 28.6%, 0%, 20.4%)
CIE-LABlab(64.34, 21.07, -26.28)
CIE-LCHlch(64.34, 33.69, 308.72°)
OKLaboklab(70.08% 0.05 -0.0721)
OKLCHoklch(70.08% 0.088 304.7)
XYZxyz(37.6974, 33.2206, 60.9146)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB91CB #B1CB91
analogous
#9194CB #AB91CB #C891CB
triadic
#AB91CB #CBAB91 #91CBAB
tetradic
#AB91CB #CB9194 #B1CB91 #91CBC8
square
#AB91CB #CB9194 #B1CB91 #91CBC8
split-complementary
#AB91CB #CBC891 #94CB91
monochromatic
#6D4899 #8B67B7 #AB91CB #CBBBDF #EAE4F2

Accessibility & contrast

On white

2.75
#AB91CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#AB91CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB91CB
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB91CB#FFFFFF#000000##000000
##AB91CB1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#869BCD
Deuteranopia (green-blind)
#8B9CC9
Tritanopia (blue-blind)
#A699A6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab91cb;
/* rgb */ color: rgb(171, 145, 203);
/* oklch */ color: oklch(70.1% 0.088 304.7);
Tailwind
colors: {
  custom: {
    50: '#c4b1db',
    500: '#ab91cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab91cb;
$custom-light: #c4b1db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab91cb",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 203
  },
  "hsl": {
    "h": 266.897,
    "s": 35.802,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70079,
    "c": 0.08772,
    "h": 304.7
  },
  "luminance": 0.33221
}

Semantic roles & 50–950 ramp

primary
#AB91CB
secondary
#DDE5D3
accent
#AF3779
background
#FCFAFD
surface
#F8F5FB
border
#D1CFD4
text
#131015
muted
#827F83

Preview Lab

Preview with #AB91CB

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

Preview Lab → · Contrast checker → · Palette generator →

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