#AB5BE2#AB5BE2

#AB5BE2 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.4% C 0.203 H 309.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AB5BE2
RGBrgb(171, 91, 226)
HSLhsl(276, 70%, 62%)
HSVhsv(276, 60%, 89%)
CMYKcmyk(24.3%, 59.7%, 0%, 11.4%)
CIE-LABlab(53.63, 55.69, -56.03)
CIE-LCHlch(53.63, 79.00, 314.83°)
OKLaboklab(62.42% 0.1279 -0.1579)
OKLCHoklch(62.42% 0.203 309)
XYZxyz(34.2604, 21.6317, 74.3073)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BE2 #92E25B
analogous
#685BE2 #AB5BE2 #E25BD5
triadic
#AB5BE2 #E2AB5B #5BE2AB
tetradic
#AB5BE2 #E2685B #92E25B #5BD5E2
square
#AB5BE2 #E2685B #92E25B #5BD5E2
split-complementary
#AB5BE2 #D5E25B #5BE268
monochromatic
#6E1DA5 #9027D9 #AB5BE2 #C68FEB #E0C3F4

Accessibility & contrast

On white

3.94
#AB5BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#AB5BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BE2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BE2#FFFFFF#000000##000000
##AB5BE21.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#227DE6
Deuteranopia (green-blind)
#4981DF
Tritanopia (blue-blind)
#A37596
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5be2;
/* rgb */ color: rgb(171, 91, 226);
/* oklch */ color: oklch(62.4% 0.203 309.0);
Tailwind
colors: {
  custom: {
    50: '#c88dec',
    500: '#ab5be2',
    950: '#000000',
  },
}
SCSS
$custom: #ab5be2;
$custom-light: #c88dec;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5be2",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 226
  },
  "hsl": {
    "h": 275.556,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62416,
    "c": 0.20317,
    "h": 309
  },
  "luminance": 0.21631
}

Semantic roles & 50–950 ramp

primary
#AB5BE2
secondary
#C8E5B4
accent
#D21461
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB5BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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