#AB97EE#AB97EE

#AB97EE is a light, vivid violet. Relative luminance 0.370; OKLCH L 72.8% C 0.125 H 293.6°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#AB97EE
RGBrgb(171, 151, 238)
HSLhsl(254, 72%, 76%)
HSVhsv(254, 37%, 93%)
CMYKcmyk(28.2%, 36.6%, 0%, 6.7%)
CIE-LABlab(67.25, 25.86, -41.14)
CIE-LCHlch(67.25, 48.60, 302.15°)
OKLaboklab(72.78% 0.0501 -0.1147)
OKLCHoklch(72.78% 0.125 293.6)
XYZxyz(43.2900, 36.9635, 85.7263)
Luminance0.3696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB97EE #DAEE97
analogous
#97AFEE #AB97EE #D797EE
triadic
#AB97EE #EEAB97 #97EEAB
tetradic
#AB97EE #EE97AF #DAEE97 #97EED7
square
#AB97EE #EE97AF #DAEE97 #97EED7
split-complementary
#AB97EE #EED797 #AFEE97
monochromatic
#562EDD #8162E5 #AB97EE #D5CCF7 #EAE5FB

Accessibility & contrast

On white

2.50
#AB97EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#AB97EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB97EE
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB97EE#FFFFFF#000000##000000
##AB97EE1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F1
Deuteranopia (green-blind)
#81A2EC
Tritanopia (blue-blind)
#9CA6B7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ab97ee;
/* rgb */ color: rgb(171, 151, 238);
/* oklch */ color: oklch(72.8% 0.125 293.6);
Tailwind
colors: {
  custom: {
    50: '#c6b5f4',
    500: '#ab97ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab97ee;
$custom-light: #c6b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab97ee",
  "rgb": {
    "r": 171,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 253.793,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72782,
    "c": 0.12516,
    "h": 293.6
  },
  "luminance": 0.36964
}

Semantic roles & 50–950 ramp

primary
#AB97EE
secondary
#ECF2D9
accent
#D412A7
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AB97EE

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

Preview Lab → · Contrast checker → · Palette generator →

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