#AB97E4#AB97E4

#AB97E4 is a light, moderate violet. Relative luminance 0.364; OKLCH L 72.3% C 0.112 H 295.4°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#AB97E4
RGBrgb(171, 151, 228)
HSLhsl(256, 59%, 74%)
HSVhsv(256, 34%, 89%)
CMYKcmyk(25%, 33.8%, 0%, 10.6%)
CIE-LABlab(66.82, 23.44, -36.32)
CIE-LCHlch(66.82, 43.23, 302.84°)
OKLaboklab(72.31% 0.0479 -0.1008)
OKLCHoklch(72.31% 0.112 295.4)
XYZxyz(41.8615, 36.3921, 78.2027)
Luminance0.3639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB97E4 #D0E497
analogous
#97AAE4 #AB97E4 #D297E4
triadic
#AB97E4 #E4AB97 #97E4AB
tetradic
#AB97E4 #E497AA #D0E497 #97E4D2
square
#AB97E4 #E497AA #D0E497 #97E4D2
split-complementary
#AB97E4 #E4D297 #AAE497
monochromatic
#5D36CB #8466D7 #AB97E4 #D2C8F1 #EBE7F9

Accessibility & contrast

On white

2.54
#AB97E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#AB97E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB97E4
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB97E4#FFFFFF#000000##000000
##AB97E41.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A3E7
Deuteranopia (green-blind)
#86A2E2
Tritanopia (blue-blind)
#9FA4B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ab97e4;
/* rgb */ color: rgb(171, 151, 228);
/* oklch */ color: oklch(72.3% 0.112 295.4);
Tailwind
colors: {
  custom: {
    50: '#c5b5ec',
    500: '#ab97e4',
    950: '#000000',
  },
}
SCSS
$custom: #ab97e4;
$custom-light: #c5b5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ab97e4",
  "rgb": {
    "r": 171,
    "g": 151,
    "b": 228
  },
  "hsl": {
    "h": 255.584,
    "s": 58.779,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72311,
    "c": 0.11156,
    "h": 295.4
  },
  "luminance": 0.36393
}

Semantic roles & 50–950 ramp

primary
#AB97E4
secondary
#EBF0DB
accent
#C61F9B
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AB97E4

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

Preview Lab → · Contrast checker → · Palette generator →

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