#AB8AED#AB8AED

#AB8AED is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.4% C 0.144 H 298.0°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#AB8AED
RGBrgb(171, 138, 237)
HSLhsl(260, 73%, 74%)
HSVhsv(260, 42%, 93%)
CMYKcmyk(27.8%, 41.8%, 0%, 7.1%)
CIE-LABlab(64.12, 32.96, -45.51)
CIE-LCHlch(64.12, 56.19, 305.91°)
OKLaboklab(70.39% 0.0676 -0.1273)
OKLCHoklch(70.39% 0.144 298)
XYZxyz(41.1655, 32.9489, 84.2954)
Luminance0.3295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8AED #CCED8A
analogous
#8A9AED #AB8AED #DC8AED
triadic
#AB8AED #EDAB8A #8AEDAB
tetradic
#AB8AED #ED8A9A #CCED8A #8AEDDC
square
#AB8AED #ED8A9A #CCED8A #8AEDDC
split-complementary
#AB8AED #EDDC8A #9AED8A
monochromatic
#5F22DB #8555E5 #AB8AED #D1BFF5 #ECE4FB

Accessibility & contrast

On white

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

On black

7.59
#AB8AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8AED
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8AED#FFFFFF#000000##000000
##AB8AED1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF1
Deuteranopia (green-blind)
#749AEA
Tritanopia (blue-blind)
#9E9BB0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab8aed;
/* rgb */ color: rgb(171, 138, 237);
/* oklch */ color: oklch(70.4% 0.144 298.0);
Tailwind
colors: {
  custom: {
    50: '#c6acf3',
    500: '#ab8aed',
    950: '#000000',
  },
}
SCSS
$custom: #ab8aed;
$custom-light: #c6acf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8aed",
  "rgb": {
    "r": 171,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 260,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7039,
    "c": 0.14413,
    "h": 298
  },
  "luminance": 0.32949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB8AED

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

Preview Lab → · Contrast checker → · Palette generator →

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