#AB5BE9#AB5BE9

#AB5BE9 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.9% C 0.211 H 307.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AB5BE9
RGBrgb(171, 91, 233)
HSLhsl(274, 76%, 64%)
HSVhsv(274, 61%, 91%)
CMYKcmyk(26.6%, 60.9%, 0%, 8.6%)
CIE-LABlab(54.05, 57.25, -59.29)
CIE-LCHlch(54.05, 82.42, 314.00°)
OKLaboklab(62.85% 0.1278 -0.1674)
OKLCHoklch(62.85% 0.211 307.3)
XYZxyz(35.2406, 22.0237, 79.4695)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BE9 #99E95B
analogous
#645BE9 #AB5BE9 #E95BE0
triadic
#AB5BE9 #E9AB5B #5BE9AB
tetradic
#AB5BE9 #E9645B #99E95B #5BE0E9
square
#AB5BE9 #E9645B #99E95B #5BE0E9
split-complementary
#AB5BE9 #E0E95B #5BE964
monochromatic
#6F18B2 #8F25E2 #AB5BE9 #C791F0 #E2C7F7

Accessibility & contrast

On white

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

On black

5.40
#AB5BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BE9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BE9#FFFFFF#000000##000000
##AB5BE91.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#107EED
Deuteranopia (green-blind)
#4282E6
Tritanopia (blue-blind)
#A1779A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab5be9;
/* rgb */ color: rgb(171, 91, 233);
/* oklch */ color: oklch(62.9% 0.211 307.3);
Tailwind
colors: {
  custom: {
    50: '#c88df1',
    500: '#ab5be9',
    950: '#000000',
  },
}
SCSS
$custom: #ab5be9;
$custom-light: #c88df1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5be9",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 233
  },
  "hsl": {
    "h": 273.803,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62854,
    "c": 0.21062,
    "h": 307.3
  },
  "luminance": 0.22023
}

Semantic roles & 50–950 ramp

primary
#AB5BE9
secondary
#CDE9B7
accent
#D90D66
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB5BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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