#AB8DF6#AB8DF6

#AB8DF6 is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.4% C 0.151 H 295.5°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#AB8DF6
RGBrgb(171, 141, 246)
HSLhsl(257, 85%, 76%)
HSVhsv(257, 43%, 96%)
CMYKcmyk(30.5%, 42.7%, 0%, 3.5%)
CIE-LABlab(65.25, 33.48, -48.68)
CIE-LCHlch(65.25, 59.08, 304.52°)
OKLaboklab(71.38% 0.065 -0.1365)
OKLCHoklch(71.38% 0.151 295.5)
XYZxyz(42.9499, 34.3609, 91.5404)
Luminance0.3436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8DF6 #D8F68D
analogous
#8DA3F6 #AB8DF6 #DF8DF6
triadic
#AB8DF6 #F6AB8D #8DF6AB
tetradic
#AB8DF6 #F68DA3 #D8F68D #8DF6DF
square
#AB8DF6 #F68DA3 #D8F68D #8DF6DF
split-complementary
#AB8DF6 #F6DF8D #A3F68D
monochromatic
#571CED #8154F2 #AB8DF6 #D5C6FA #EAE3FD

Accessibility & contrast

On white

2.67
#AB8DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#AB8DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8DF6
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8DF6#FFFFFF#000000##000000
##AB8DF61.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FFA
Deuteranopia (green-blind)
#729DF3
Tritanopia (blue-blind)
#9BA0B6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ab8df6;
/* rgb */ color: rgb(171, 141, 246);
/* oklch */ color: oklch(71.4% 0.151 295.5);
Tailwind
colors: {
  custom: {
    50: '#c6aef9',
    500: '#ab8df6',
    950: '#000000',
  },
}
SCSS
$custom: #ab8df6;
$custom-light: #c6aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8df6",
  "rgb": {
    "r": 171,
    "g": 141,
    "b": 246
  },
  "hsl": {
    "h": 257.143,
    "s": 85.366,
    "l": 75.882
  },
  "oklch": {
    "l": 0.71383,
    "c": 0.15122,
    "h": 295.5
  },
  "luminance": 0.34362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB8DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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