#AB99CB#AB99CB

#AB99CB is a light, moderate violet. Relative luminance 0.358; OKLCH L 71.6% C 0.074 H 301.0°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#AB99CB
RGBrgb(171, 153, 203)
HSLhsl(262, 32%, 70%)
HSVhsv(262, 25%, 80%)
CMYKcmyk(15.8%, 24.6%, 0%, 20.4%)
CIE-LABlab(66.33, 16.56, -23.23)
CIE-LCHlch(66.33, 28.53, 305.48°)
OKLaboklab(71.61% 0.0382 -0.0635)
OKLCHoklch(71.61% 0.074 301)
XYZxyz(38.9631, 35.7521, 61.3365)
Luminance0.3575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB99CB #B9CB99
analogous
#99A0CB #AB99CB #C499CB
triadic
#AB99CB #CBAB99 #99CBAB
tetradic
#AB99CB #CB99A0 #B9CB99 #99CBC4
square
#AB99CB #CB99A0 #B9CB99 #99CBC4
split-complementary
#AB99CB #CBC499 #A0CB99
monochromatic
#6A4F9B #8A70B6 #AB99CB #CCC2E0 #EEEAF4

Accessibility & contrast

On white

2.58
#AB99CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#AB99CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB99CB
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB99CB#FFFFFF#000000##000000
##AB99CB1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA1CD
Deuteranopia (green-blind)
#92A1CA
Tritanopia (blue-blind)
#A6A0AA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ab99cb;
/* rgb */ color: rgb(171, 153, 203);
/* oklch */ color: oklch(71.6% 0.074 301.0);
Tailwind
colors: {
  custom: {
    50: '#c4b7db',
    500: '#ab99cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab99cb;
$custom-light: #c4b7db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab99cb",
  "rgb": {
    "r": 171,
    "g": 153,
    "b": 203
  },
  "hsl": {
    "h": 261.6,
    "s": 32.468,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71611,
    "c": 0.07411,
    "h": 301
  },
  "luminance": 0.35752
}

Semantic roles & 50–950 ramp

primary
#AB99CB
secondary
#E2E7D9
accent
#AB3A83
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#121115
muted
#818083

Preview Lab

Preview with #AB99CB

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

Preview Lab → · Contrast checker → · Palette generator →

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