#AB8EBD#AB8EBD

#AB8EBD is a light, moderate violet. Relative luminance 0.317; OKLCH L 68.9% C 0.075 H 312.3°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#AB8EBD
RGBrgb(171, 142, 189)
HSLhsl(277, 26%, 65%)
HSVhsv(277, 25%, 74%)
CMYKcmyk(9.5%, 24.9%, 0%, 25.9%)
CIE-LABlab(63.08, 19.75, -20.36)
CIE-LCHlch(63.08, 28.36, 314.12°)
OKLaboklab(68.94% 0.0503 -0.0554)
OKLCHoklch(68.94% 0.075 312.3)
XYZxyz(35.6514, 31.6785, 52.3707)
Luminance0.3168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8EBD #A0BD8E
analogous
#938EBD #AB8EBD #BD8EB8
triadic
#AB8EBD #BDAB8E #8EBDAB
tetradic
#AB8EBD #BD938E #A0BD8E #8EB8BD
square
#AB8EBD #BD938E #A0BD8E #8EB8BD
split-complementary
#AB8EBD #B8BD8E #8EBD93
monochromatic
#6F4D84 #8E67A6 #AB8EBD #C8B5D4 #E4DBEA

Accessibility & contrast

On white

2.86
#AB8EBD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#AB8EBD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8EBD
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8EBD#FFFFFF#000000##000000
##AB8EBD1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8797BF
Deuteranopia (green-blind)
#8D99BB
Tritanopia (blue-blind)
#AA949E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab8ebd;
/* rgb */ color: rgb(171, 142, 189);
/* oklch */ color: oklch(68.9% 0.075 312.3);
Tailwind
colors: {
  custom: {
    50: '#c4afd1',
    500: '#ab8ebd',
    950: '#000000',
  },
}
SCSS
$custom: #ab8ebd;
$custom-light: #c4afd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8ebd",
  "rgb": {
    "r": 171,
    "g": 142,
    "b": 189
  },
  "hsl": {
    "h": 277.021,
    "s": 26.257,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68936,
    "c": 0.07484,
    "h": 312.3
  },
  "luminance": 0.31678
}

Semantic roles & 50–950 ramp

primary
#AB8EBD
secondary
#D2DBCB
accent
#A54167
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#121014
muted
#817F82

Preview Lab

Preview with #AB8EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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