#AB8BC7#AB8BC7

#AB8BC7 is a light, moderate violet. Relative luminance 0.312; OKLCH L 68.8% C 0.093 H 308.4°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#AB8BC7
RGBrgb(171, 139, 199)
HSLhsl(272, 35%, 66%)
HSVhsv(272, 30%, 78%)
CMYKcmyk(14.1%, 30.2%, 0%, 22%)
CIE-LABlab(62.72, 23.59, -26.54)
CIE-LCHlch(62.72, 35.51, 311.63°)
OKLaboklab(68.78% 0.0578 -0.0728)
OKLCHoklch(68.78% 0.093 308.4)
XYZxyz(36.3341, 31.2470, 58.1389)
Luminance0.3125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8BC7 #A7C78B
analogous
#8D8BC7 #AB8BC7 #C78BC5
triadic
#AB8BC7 #C7AB8B #8BC7AB
tetradic
#AB8BC7 #C78D8B #A7C78B #8BC5C7
square
#AB8BC7 #C78D8B #A7C78B #8BC5C7
split-complementary
#AB8BC7 #C5C78B #8BC78D
monochromatic
#6E4691 #8D62B3 #AB8BC7 #C9B4DB #E7DEEF

Accessibility & contrast

On white

2.90
#AB8BC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#AB8BC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8BC7
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8BC7#FFFFFF#000000##000000
##AB8BC71.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8096C9
Deuteranopia (green-blind)
#8798C5
Tritanopia (blue-blind)
#A893A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab8bc7;
/* rgb */ color: rgb(171, 139, 199);
/* oklch */ color: oklch(68.8% 0.093 308.4);
Tailwind
colors: {
  custom: {
    50: '#c4add8',
    500: '#ab8bc7',
    950: '#000000',
  },
}
SCSS
$custom: #ab8bc7;
$custom-light: #c4add8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8bc7",
  "rgb": {
    "r": 171,
    "g": 139,
    "b": 199
  },
  "hsl": {
    "h": 272,
    "s": 34.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68784,
    "c": 0.09291,
    "h": 308.4
  },
  "luminance": 0.31247
}

Semantic roles & 50–950 ramp

primary
#AB8BC7
secondary
#D6E1CD
accent
#AE386F
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #AB8BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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