#AB8BEE#AB8BEE

#AB8BEE is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.6% C 0.144 H 297.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#AB8BEE
RGBrgb(171, 139, 238)
HSLhsl(259, 74%, 74%)
HSVhsv(259, 42%, 93%)
CMYKcmyk(28.2%, 41.6%, 0%, 6.7%)
CIE-LABlab(64.40, 32.64, -45.62)
CIE-LCHlch(64.40, 56.09, 305.58°)
OKLaboklab(70.62% 0.0664 -0.1276)
OKLCHoklch(70.62% 0.144 297.5)
XYZxyz(41.4562, 33.2958, 85.1150)
Luminance0.3330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8BEE #CEEE8B
analogous
#8B9DEE #AB8BEE #DD8BEE
triadic
#AB8BEE #EEAB8B #8BEEAB
tetradic
#AB8BEE #EE8B9D #CEEE8B #8BEEDD
square
#AB8BEE #EE8B9D #CEEE8B #8BEEDD
split-complementary
#AB8BEE #EEDD8B #9DEE8B
monochromatic
#5E21DE #8456E6 #AB8BEE #D2C0F6 #ECE4FB

Accessibility & contrast

On white

2.74
#AB8BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#AB8BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8BEE
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8BEE#FFFFFF#000000##000000
##AB8BEE1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF2
Deuteranopia (green-blind)
#759BEB
Tritanopia (blue-blind)
#9D9CB1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab8bee;
/* rgb */ color: rgb(171, 139, 238);
/* oklch */ color: oklch(70.6% 0.144 297.5);
Tailwind
colors: {
  custom: {
    50: '#c6adf4',
    500: '#ab8bee',
    950: '#000000',
  },
}
SCSS
$custom: #ab8bee;
$custom-light: #c6adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8bee",
  "rgb": {
    "r": 171,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 259.394,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70617,
    "c": 0.14386,
    "h": 297.5
  },
  "luminance": 0.33296
}

Semantic roles & 50–950 ramp

primary
#AB8BEE
secondary
#EAF3D8
accent
#D70F96
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AB8BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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