#AB8DF8#AB8DF8

#AB8DF8 is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.5% C 0.154 H 295.1°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#AB8DF8
RGBrgb(171, 141, 248)
HSLhsl(257, 88%, 76%)
HSVhsv(257, 43%, 97%)
CMYKcmyk(31%, 43.1%, 0%, 2.7%)
CIE-LABlab(65.35, 33.98, -49.62)
CIE-LCHlch(65.35, 60.14, 304.40°)
OKLaboklab(71.49% 0.0654 -0.1393)
OKLCHoklch(71.49% 0.154 295.1)
XYZxyz(43.2585, 34.4843, 93.1658)
Luminance0.3448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8DF8 #DAF88D
analogous
#8DA5F8 #AB8DF8 #E08DF8
triadic
#AB8DF8 #F8AB8D #8DF8AB
tetradic
#AB8DF8 #F88DA5 #DAF88D #8DF8E0
square
#AB8DF8 #F88DA5 #DAF88D #8DF8E0
split-complementary
#AB8DF8 #F8E08D #A5F88D
monochromatic
#561AF1 #8153F4 #AB8DF8 #D5C7FC #EAE2FD

Accessibility & contrast

On white

2.66
#AB8DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#AB8DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8DF8
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8DF8#FFFFFF#000000##000000
##AB8DF81.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FC
Deuteranopia (green-blind)
#719DF5
Tritanopia (blue-blind)
#9AA1B7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ab8df8;
/* rgb */ color: rgb(171, 141, 248);
/* oklch */ color: oklch(71.5% 0.154 295.1);
Tailwind
colors: {
  custom: {
    50: '#c6aefb',
    500: '#ab8df8',
    950: '#000000',
  },
}
SCSS
$custom: #ab8df8;
$custom-light: #c6aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8df8",
  "rgb": {
    "r": 171,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 256.822,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71489,
    "c": 0.15384,
    "h": 295.1
  },
  "luminance": 0.34485
}

Semantic roles & 50–950 ramp

primary
#AB8DF8
secondary
#ECF5D6
accent
#E500A5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AB8DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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