#AB99CA#AB99CA

#AB99CA is a light, moderate violet. Relative luminance 0.357; OKLCH L 71.6% C 0.073 H 301.4°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#AB99CA
RGBrgb(171, 153, 202)
HSLhsl(262, 32%, 70%)
HSVhsv(262, 24%, 79%)
CMYKcmyk(15.3%, 24.3%, 0%, 20.8%)
CIE-LABlab(66.29, 16.34, -22.73)
CIE-LCHlch(66.29, 27.99, 305.71°)
OKLaboklab(71.57% 0.0379 -0.0621)
OKLCHoklch(71.57% 0.073 301.4)
XYZxyz(38.8443, 35.7046, 60.7109)
Luminance0.3570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB99CA #B8CA99
analogous
#99A0CA #AB99CA #C499CA
triadic
#AB99CA #CAAB99 #99CAAB
tetradic
#AB99CA #CA99A0 #B8CA99 #99CAC4
square
#AB99CA #CA99A0 #B8CA99 #99CAC4
split-complementary
#AB99CA #CAC499 #A0CA99
monochromatic
#6B5099 #8A71B5 #AB99CA #CCC1DF #EDEAF4

Accessibility & contrast

On white

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

On black

8.14
#AB99CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB99CA
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB99CA#FFFFFF#000000##000000
##AB99CA1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab99ca;
/* rgb */ color: rgb(171, 153, 202);
/* oklch */ color: oklch(71.6% 0.073 301.4);
Tailwind
colors: {
  custom: {
    50: '#c4b7da',
    500: '#ab99ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab99ca;
$custom-light: #c4b7da;
$custom-dark: #000000;
JSON
{
  "hex": "#ab99ca",
  "rgb": {
    "r": 171,
    "g": 153,
    "b": 202
  },
  "hsl": {
    "h": 262.041,
    "s": 31.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71571,
    "c": 0.07275,
    "h": 301.4
  },
  "luminance": 0.35705
}

Semantic roles & 50–950 ramp

primary
#AB99CA
secondary
#E1E6D8
accent
#AA3B82
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#121114
muted
#818083

Preview Lab

Preview with #AB99CA

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

Preview Lab → · Contrast checker → · Palette generator →

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