#AB8DEF#AB8DEF

#AB8DEF is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.0% C 0.142 H 296.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#AB8DEF
RGBrgb(171, 141, 239)
HSLhsl(258, 75%, 75%)
HSVhsv(258, 41%, 94%)
CMYKcmyk(28.5%, 41%, 0%, 6.3%)
CIE-LABlab(64.91, 31.75, -45.36)
CIE-LCHlch(64.91, 55.37, 304.99°)
OKLaboklab(71.02% 0.0639 -0.1269)
OKLCHoklch(71.02% 0.142 296.7)
XYZxyz(41.8957, 33.9392, 85.9883)
Luminance0.3394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8DEF #D1EF8D
analogous
#8DA0EF #AB8DEF #DC8DEF
triadic
#AB8DEF #EFAB8D #8DEFAB
tetradic
#AB8DEF #EF8DA0 #D1EF8D #8DEFDC
square
#AB8DEF #EF8DA0 #D1EF8D #8DEFDC
split-complementary
#AB8DEF #EFDC8D #A0EF8D
monochromatic
#5C22E0 #8357E7 #AB8DEF #D3C3F7 #EBE4FB

Accessibility & contrast

On white

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

On black

7.79
#AB8DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8DEF
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8DEF#FFFFFF#000000##000000
##AB8DEF1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF3
Deuteranopia (green-blind)
#769CED
Tritanopia (blue-blind)
#9D9EB3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ab8def;
/* rgb */ color: rgb(171, 141, 239);
/* oklch */ color: oklch(71.0% 0.142 296.7);
Tailwind
colors: {
  custom: {
    50: '#c6aef4',
    500: '#ab8def',
    950: '#000000',
  },
}
SCSS
$custom: #ab8def;
$custom-light: #c6aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8def",
  "rgb": {
    "r": 171,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 258.367,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71022,
    "c": 0.14204,
    "h": 296.7
  },
  "luminance": 0.3394
}

Semantic roles & 50–950 ramp

primary
#AB8DEF
secondary
#EBF3D8
accent
#D80E9A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AB8DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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