#AB5BE8#AB5BE8

#AB5BE8 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.8% C 0.210 H 307.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AB5BE8
RGBrgb(171, 91, 232)
HSLhsl(274, 75%, 63%)
HSVhsv(274, 61%, 91%)
CMYKcmyk(26.3%, 60.8%, 0%, 9%)
CIE-LABlab(53.99, 57.03, -58.83)
CIE-LCHlch(53.99, 81.93, 314.11°)
OKLaboklab(62.79% 0.1278 -0.1661)
OKLCHoklch(62.79% 0.21 307.6)
XYZxyz(35.0982, 21.9667, 78.7193)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BE8 #98E85B
analogous
#645BE8 #AB5BE8 #E85BDE
triadic
#AB5BE8 #E8AB5B #5BE8AB
tetradic
#AB5BE8 #E8645B #98E85B #5BDEE8
square
#AB5BE8 #E8645B #98E85B #5BDEE8
split-complementary
#AB5BE8 #DEE85B #5BE864
monochromatic
#6E19B0 #9025E0 #AB5BE8 #C691F0 #E2C6F7

Accessibility & contrast

On white

3.89
#AB5BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#AB5BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BE8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BE8#FFFFFF#000000##000000
##AB5BE81.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#147EEC
Deuteranopia (green-blind)
#4382E5
Tritanopia (blue-blind)
#A27799
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab5be8;
/* rgb */ color: rgb(171, 91, 232);
/* oklch */ color: oklch(62.8% 0.210 307.6);
Tailwind
colors: {
  custom: {
    50: '#c88df0',
    500: '#ab5be8',
    950: '#000000',
  },
}
SCSS
$custom: #ab5be8;
$custom-light: #c88df0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5be8",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 274.043,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62791,
    "c": 0.20955,
    "h": 307.6
  },
  "luminance": 0.21966
}

Semantic roles & 50–950 ramp

primary
#AB5BE8
secondary
#CCE9B6
accent
#D80E65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #AB5BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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