#AB9ECB#AB9ECB

#AB9ECB is a light, moderate violet. Relative luminance 0.374; OKLCH L 72.6% C 0.066 H 298.0°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#AB9ECB
RGBrgb(171, 158, 203)
HSLhsl(257, 30%, 71%)
HSVhsv(257, 22%, 80%)
CMYKcmyk(15.8%, 22.2%, 0%, 20.4%)
CIE-LABlab(67.59, 13.75, -21.30)
CIE-LCHlch(67.59, 25.35, 302.84°)
OKLaboklab(72.59% 0.0309 -0.0581)
OKLCHoklch(72.59% 0.066 298)
XYZxyz(39.7987, 37.4233, 61.6150)
Luminance0.3742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9ECB #BECB9E
analogous
#9EA7CB #AB9ECB #C19ECB
triadic
#AB9ECB #CBAB9E #9ECBAB
tetradic
#AB9ECB #CB9EA7 #BECB9E #9ECBC1
square
#AB9ECB #CB9EA7 #BECB9E #9ECBC1
split-complementary
#AB9ECB #CBC19E #A7CB9E
monochromatic
#68539B #8876B6 #AB9ECB #CEC6E0 #EEEBF4

Accessibility & contrast

On white

2.48
#AB9ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#AB9ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9ECB
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9ECB#FFFFFF#000000##000000
##AB9ECB1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A5CD
Deuteranopia (green-blind)
#97A4CA
Tritanopia (blue-blind)
#A5A5AD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ab9ecb;
/* rgb */ color: rgb(171, 158, 203);
/* oklch */ color: oklch(72.6% 0.066 298.0);
Tailwind
colors: {
  custom: {
    50: '#c4badb',
    500: '#ab9ecb',
    950: '#000000',
  },
}
SCSS
$custom: #ab9ecb;
$custom-light: #c4badb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9ecb",
  "rgb": {
    "r": 171,
    "g": 158,
    "b": 203
  },
  "hsl": {
    "h": 257.333,
    "s": 30.201,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72587,
    "c": 0.06581,
    "h": 298
  },
  "luminance": 0.37423
}

Semantic roles & 50–950 ramp

primary
#AB9ECB
secondary
#E5E8DC
accent
#A93D8A
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#121115
muted
#818083

Preview Lab

Preview with #AB9ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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