#AB8AEC#AB8AEC

#AB8AEC is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.3% C 0.143 H 298.2°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#AB8AEC
RGBrgb(171, 138, 236)
HSLhsl(260, 72%, 73%)
HSVhsv(260, 42%, 93%)
CMYKcmyk(27.5%, 41.5%, 0%, 7.5%)
CIE-LABlab(64.07, 32.71, -45.03)
CIE-LCHlch(64.07, 55.66, 306.00°)
OKLaboklab(70.34% 0.0674 -0.1259)
OKLCHoklch(70.34% 0.143 298.2)
XYZxyz(41.0198, 32.8907, 83.5281)
Luminance0.3289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8AEC #CBEC8A
analogous
#8A9AEC #AB8AEC #DC8AEC
triadic
#AB8AEC #ECAB8A #8AECAB
tetradic
#AB8AEC #EC8A9A #CBEC8A #8AECDC
square
#AB8AEC #EC8A9A #CBEC8A #8AECDC
split-complementary
#AB8AEC #ECDC8A #9AEC8A
monochromatic
#6023D8 #8555E3 #AB8AEC #D1BFF5 #ECE5FB

Accessibility & contrast

On white

2.77
#AB8AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#AB8AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8AEC
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8AEC#FFFFFF#000000##000000
##AB8AEC1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BF0
Deuteranopia (green-blind)
#759AE9
Tritanopia (blue-blind)
#9E9BB0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab8aec;
/* rgb */ color: rgb(171, 138, 236);
/* oklch */ color: oklch(70.3% 0.143 298.2);
Tailwind
colors: {
  custom: {
    50: '#c6acf2',
    500: '#ab8aec',
    950: '#000000',
  },
}
SCSS
$custom: #ab8aec;
$custom-light: #c6acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8aec",
  "rgb": {
    "r": 171,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 260.204,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70339,
    "c": 0.14282,
    "h": 298.2
  },
  "luminance": 0.32891
}

Semantic roles & 50–950 ramp

primary
#AB8AEC
secondary
#EAF2D9
accent
#D41193
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AB8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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