#AB8EE8#AB8EE8

#AB8EE8 is a light, vivid violet. Relative luminance 0.338; OKLCH L 70.9% C 0.131 H 297.8°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#AB8EE8
RGBrgb(171, 142, 232)
HSLhsl(259, 66%, 73%)
HSVhsv(259, 39%, 91%)
CMYKcmyk(26.3%, 38.8%, 0%, 9%)
CIE-LABlab(64.83, 29.49, -41.64)
CIE-LCHlch(64.83, 51.02, 305.31°)
OKLaboklab(70.85% 0.0612 -0.1161)
OKLCHoklch(70.85% 0.131 297.8)
XYZxyz(41.0297, 33.8298, 80.6965)
Luminance0.3383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8EE8 #CBE88E
analogous
#8E9EE8 #AB8EE8 #D88EE8
triadic
#AB8EE8 #E8AB8E #8EE8AB
tetradic
#AB8EE8 #E88E9E #CBE88E #8EE8D8
square
#AB8EE8 #E88E9E #CBE88E #8EE8D8
split-complementary
#AB8EE8 #E8D88E #9EE88E
monochromatic
#602BD1 #855BDE #AB8EE8 #D1C1F2 #ECE6FA

Accessibility & contrast

On white

2.70
#AB8EE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#AB8EE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8EE8
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8EE8#FFFFFF#000000##000000
##AB8EE81.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#769DEB
Deuteranopia (green-blind)
#7B9CE6
Tritanopia (blue-blind)
#9F9DB0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ab8ee8;
/* rgb */ color: rgb(171, 142, 232);
/* oklch */ color: oklch(70.9% 0.131 297.8);
Tailwind
colors: {
  custom: {
    50: '#c6afef',
    500: '#ab8ee8',
    950: '#000000',
  },
}
SCSS
$custom: #ab8ee8;
$custom-light: #c6afef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8ee8",
  "rgb": {
    "r": 171,
    "g": 142,
    "b": 232
  },
  "hsl": {
    "h": 259.333,
    "s": 66.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7085,
    "c": 0.13123,
    "h": 297.8
  },
  "luminance": 0.3383
}

Semantic roles & 50–950 ramp

primary
#AB8EE8
secondary
#EAF1DA
accent
#CE1793
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AB8EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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