#AB91CF#AB91CF

#AB91CF is a light, moderate violet. Relative luminance 0.334; OKLCH L 70.2% C 0.093 H 303.3°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#AB91CF
RGBrgb(171, 145, 207)
HSLhsl(265, 39%, 69%)
HSVhsv(265, 30%, 81%)
CMYKcmyk(17.4%, 30%, 0%, 18.8%)
CIE-LABlab(64.49, 21.96, -28.28)
CIE-LCHlch(64.49, 35.80, 307.84°)
OKLaboklab(70.25% 0.0511 -0.0777)
OKLCHoklch(70.25% 0.093 303.3)
XYZxyz(38.1802, 33.4138, 63.4575)
Luminance0.3341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB91CF #B5CF91
analogous
#9196CF #AB91CF #CA91CF
triadic
#AB91CF #CFAB91 #91CFAB
tetradic
#AB91CF #CF9196 #B5CF91 #91CFCA
square
#AB91CF #CF9196 #B5CF91 #91CFCA
split-complementary
#AB91CF #CFCA91 #96CF91
monochromatic
#6C46A0 #8A66BC #AB91CF #CCBCE2 #ECE6F4

Accessibility & contrast

On white

2.73
#AB91CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#AB91CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB91CF
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB91CF#FFFFFF#000000##000000
##AB91CF1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#849CD2
Deuteranopia (green-blind)
#899CCD
Tritanopia (blue-blind)
#A59AA7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab91cf;
/* rgb */ color: rgb(171, 145, 207);
/* oklch */ color: oklch(70.2% 0.093 303.3);
Tailwind
colors: {
  custom: {
    50: '#c4b1de',
    500: '#ab91cf',
    950: '#000000',
  },
}
SCSS
$custom: #ab91cf;
$custom-light: #c4b1de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab91cf",
  "rgb": {
    "r": 171,
    "g": 145,
    "b": 207
  },
  "hsl": {
    "h": 265.161,
    "s": 39.241,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70249,
    "c": 0.09303,
    "h": 303.3
  },
  "luminance": 0.33414
}

Semantic roles & 50–950 ramp

primary
#AB91CF
secondary
#DFE7D5
accent
#B2337D
background
#FCFAFD
surface
#F8F5FB
border
#D1CFD4
text
#131015
muted
#827F83

Preview Lab

Preview with #AB91CF

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

Preview Lab → · Contrast checker → · Palette generator →

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