#AB97CA#AB97CA

#AB97CA is a light, moderate violet. Relative luminance 0.351; OKLCH L 71.2% C 0.076 H 302.4°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#AB97CA
RGBrgb(171, 151, 202)
HSLhsl(264, 32%, 69%)
HSVhsv(264, 25%, 79%)
CMYKcmyk(15.3%, 25.2%, 0%, 20.8%)
CIE-LABlab(65.79, 17.46, -23.50)
CIE-LCHlch(65.79, 29.27, 306.62°)
OKLaboklab(71.18% 0.0408 -0.0642)
OKLCHoklch(71.18% 0.076 302.4)
XYZxyz(38.5197, 35.0554, 60.6027)
Luminance0.3505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB97CA #B6CA97
analogous
#979DCA #AB97CA #C597CA
triadic
#AB97CA #CAAB97 #97CAAB
tetradic
#AB97CA #CA979D #B6CA97 #97CAC5
square
#AB97CA #CA979D #B6CA97 #97CAC5
split-complementary
#AB97CA #CAC597 #9DCA97
monochromatic
#6B4E99 #8A6EB5 #AB97CA #CCC0DF #ECE8F3

Accessibility & contrast

On white

2.62
#AB97CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#AB97CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB97CA
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB97CA#FFFFFF#000000##000000
##AB97CA1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D9FCC
Deuteranopia (green-blind)
#91A0C8
Tritanopia (blue-blind)
#A69EA9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ab97ca;
/* rgb */ color: rgb(171, 151, 202);
/* oklch */ color: oklch(71.2% 0.076 302.4);
Tailwind
colors: {
  custom: {
    50: '#c4b5da',
    500: '#ab97ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab97ca;
$custom-light: #c4b5da;
$custom-dark: #000000;
JSON
{
  "hex": "#ab97ca",
  "rgb": {
    "r": 171,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 263.529,
    "s": 32.484,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71184,
    "c": 0.07613,
    "h": 302.4
  },
  "luminance": 0.35055
}

Semantic roles & 50–950 ramp

primary
#AB97CA
secondary
#E0E6D7
accent
#AB3A7F
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#121114
muted
#818083

Preview Lab

Preview with #AB97CA

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

Preview Lab → · Contrast checker → · Palette generator →

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