#AB8BE5#AB8BE5

#AB8BE5 is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.2% C 0.132 H 299.4°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#AB8BE5
RGBrgb(171, 139, 229)
HSLhsl(261, 63%, 72%)
HSVhsv(261, 39%, 90%)
CMYKcmyk(25.3%, 39.3%, 0%, 10.2%)
CIE-LABlab(63.98, 30.46, -41.30)
CIE-LCHlch(63.98, 51.32, 306.41°)
OKLaboklab(70.17% 0.0648 -0.1151)
OKLCHoklch(70.17% 0.132 299.4)
XYZxyz(40.1668, 32.7801, 78.3246)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8BE5 #C5E58B
analogous
#8B98E5 #AB8BE5 #D88BE5
triadic
#AB8BE5 #E5AB8B #8BE5AB
tetradic
#AB8BE5 #E58B98 #C5E58B #8BE5D8
square
#AB8BE5 #E58B98 #C5E58B #8BE5D8
split-complementary
#AB8BE5 #E5D88B #98E58B
monochromatic
#642DC9 #8759DA #AB8BE5 #CFBDF0 #EDE6F9

Accessibility & contrast

On white

2.78
#AB8BE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#AB8BE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8BE5
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8BE5#FFFFFF#000000##000000
##AB8BE51.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#749BE8
Deuteranopia (green-blind)
#7A9AE3
Tritanopia (blue-blind)
#A09AAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab8be5;
/* rgb */ color: rgb(171, 139, 229);
/* oklch */ color: oklch(70.2% 0.132 299.4);
Tailwind
colors: {
  custom: {
    50: '#c6aded',
    500: '#ab8be5',
    950: '#000000',
  },
}
SCSS
$custom: #ab8be5;
$custom-light: #c6aded;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8be5",
  "rgb": {
    "r": 171,
    "g": 139,
    "b": 229
  },
  "hsl": {
    "h": 261.333,
    "s": 63.38,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70165,
    "c": 0.13208,
    "h": 299.4
  },
  "luminance": 0.3278
}

Semantic roles & 50–950 ramp

primary
#AB8BE5
secondary
#E9F1DA
accent
#CB1A8C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #AB8BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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