#AB8EF8#AB8EF8

#AB8EF8 is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.7% C 0.152 H 294.9°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#AB8EF8
RGBrgb(171, 142, 248)
HSLhsl(256, 88%, 76%)
HSVhsv(256, 43%, 97%)
CMYKcmyk(31%, 42.7%, 0%, 2.7%)
CIE-LABlab(65.58, 33.42, -49.26)
CIE-LCHlch(65.58, 59.52, 304.15°)
OKLaboklab(71.66% 0.064 -0.1382)
OKLCHoklch(71.66% 0.152 294.9)
XYZxyz(43.4066, 34.7806, 93.2152)
Luminance0.3478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8EF8 #DBF88E
analogous
#8EA6F8 #AB8EF8 #E08EF8
triadic
#AB8EF8 #F8AB8E #8EF8AB
tetradic
#AB8EF8 #F88EA6 #DBF88E #8EF8E0
square
#AB8EF8 #F88EA6 #DBF88E #8EF8E0
split-complementary
#AB8EF8 #F8E08E #A6F88E
monochromatic
#551BF1 #8054F4 #AB8EF8 #D6C8FC #EAE2FD

Accessibility & contrast

On white

2.64
#AB8EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#AB8EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8EF8
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8EF8#FFFFFF#000000##000000
##AB8EF81.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA0FC
Deuteranopia (green-blind)
#729EF5
Tritanopia (blue-blind)
#9AA1B7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ab8ef8;
/* rgb */ color: rgb(171, 142, 248);
/* oklch */ color: oklch(71.7% 0.152 294.9);
Tailwind
colors: {
  custom: {
    50: '#c6affb',
    500: '#ab8ef8',
    950: '#000000',
  },
}
SCSS
$custom: #ab8ef8;
$custom-light: #c6affb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8ef8",
  "rgb": {
    "r": 171,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 256.415,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71664,
    "c": 0.15232,
    "h": 294.9
  },
  "luminance": 0.34781
}

Semantic roles & 50–950 ramp

primary
#AB8EF8
secondary
#EDF5D6
accent
#E501A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AB8EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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