#AB8AEB#AB8AEB

#AB8AEB is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.3% C 0.142 H 298.4°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#AB8AEB
RGBrgb(171, 138, 235)
HSLhsl(260, 71%, 73%)
HSVhsv(260, 41%, 92%)
CMYKcmyk(27.2%, 41.3%, 0%, 7.8%)
CIE-LABlab(64.03, 32.47, -44.55)
CIE-LCHlch(64.03, 55.13, 306.09°)
OKLaboklab(70.29% 0.0672 -0.1245)
OKLCHoklch(70.29% 0.142 298.4)
XYZxyz(40.8750, 32.8327, 82.7650)
Luminance0.3283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8AEB #CAEB8A
analogous
#8A99EB #AB8AEB #DB8AEB
triadic
#AB8AEB #EBAB8A #8AEBAB
tetradic
#AB8AEB #EB8A99 #CAEB8A #8AEBDB
square
#AB8AEB #EB8A99 #CAEB8A #8AEBDB
split-complementary
#AB8AEB #EBDB8A #99EB8A
monochromatic
#6125D6 #8556E2 #AB8AEB #D1BEF4 #ECE5FB

Accessibility & contrast

On white

2.78
#AB8AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#AB8AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8AEB
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8AEB#FFFFFF#000000##000000
##AB8AEB1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab8aeb;
/* rgb */ color: rgb(171, 138, 235);
/* oklch */ color: oklch(70.3% 0.142 298.4);
Tailwind
colors: {
  custom: {
    50: '#c6acf2',
    500: '#ab8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #ab8aeb;
$custom-light: #c6acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8aeb",
  "rgb": {
    "r": 171,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 260.412,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70288,
    "c": 0.14151,
    "h": 298.4
  },
  "luminance": 0.32833
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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