#AB8AE3#AB8AE3

#AB8AE3 is a light, vivid violet. Relative luminance 0.324; OKLCH L 69.9% C 0.131 H 300.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#AB8AE3
RGBrgb(171, 138, 227)
HSLhsl(262, 61%, 72%)
HSVhsv(262, 39%, 89%)
CMYKcmyk(24.7%, 39.2%, 0%, 11%)
CIE-LABlab(63.66, 30.55, -40.70)
CIE-LCHlch(63.66, 50.89, 306.89°)
OKLaboklab(69.89% 0.0658 -0.1134)
OKLCHoklch(69.89% 0.131 300.1)
XYZxyz(39.7451, 32.3808, 76.8144)
Luminance0.3238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8AE3 #C2E38A
analogous
#8A96E3 #AB8AE3 #D88AE3
triadic
#AB8AE3 #E3AB8A #8AE3AB
tetradic
#AB8AE3 #E38A96 #C2E38A #8AE3D8
square
#AB8AE3 #E38A96 #C2E38A #8AE3D8
split-complementary
#AB8AE3 #E3D88A #96E38A
monochromatic
#662FC4 #8859D7 #AB8AE3 #CEBBEF #EDE6F9

Accessibility & contrast

On white

2.81
#AB8AE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#AB8AE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8AE3
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8AE3#FFFFFF#000000##000000
##AB8AE31.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#739AE6
Deuteranopia (green-blind)
#7A9AE1
Tritanopia (blue-blind)
#A199AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ab8ae3;
/* rgb */ color: rgb(171, 138, 227);
/* oklch */ color: oklch(69.9% 0.131 300.1);
Tailwind
colors: {
  custom: {
    50: '#c5acec',
    500: '#ab8ae3',
    950: '#000000',
  },
}
SCSS
$custom: #ab8ae3;
$custom-light: #c5acec;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8ae3",
  "rgb": {
    "r": 171,
    "g": 138,
    "b": 227
  },
  "hsl": {
    "h": 262.247,
    "s": 61.379,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69888,
    "c": 0.13107,
    "h": 300.1
  },
  "luminance": 0.32381
}

Semantic roles & 50–950 ramp

primary
#AB8AE3
secondary
#E7F0D9
accent
#C91C89
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AB8AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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