#AB5BE4#AB5BE4

#AB5BE4 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.5% C 0.205 H 308.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AB5BE4
RGBrgb(171, 91, 228)
HSLhsl(275, 72%, 63%)
HSVhsv(275, 60%, 89%)
CMYKcmyk(25%, 60.1%, 0%, 10.6%)
CIE-LABlab(53.75, 56.14, -56.96)
CIE-LCHlch(53.75, 79.98, 314.58°)
OKLaboklab(62.54% 0.1279 -0.1606)
OKLCHoklch(62.54% 0.205 308.5)
XYZxyz(34.5365, 21.7421, 75.7610)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BE4 #94E45B
analogous
#665BE4 #AB5BE4 #E45BD9
triadic
#AB5BE4 #E4AB5B #5BE4AB
tetradic
#AB5BE4 #E4665B #94E45B #5BD9E4
square
#AB5BE4 #E4665B #94E45B #5BD9E4
split-complementary
#AB5BE4 #D9E45B #5BE466
monochromatic
#6E1CA9 #9026DB #AB5BE4 #C690ED #E1C4F5

Accessibility & contrast

On white

3.93
#AB5BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#AB5BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BE4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BE4#FFFFFF#000000##000000
##AB5BE41.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7DE8
Deuteranopia (green-blind)
#4781E1
Tritanopia (blue-blind)
#A37697
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5be4;
/* rgb */ color: rgb(171, 91, 228);
/* oklch */ color: oklch(62.5% 0.205 308.5);
Tailwind
colors: {
  custom: {
    50: '#c88ded',
    500: '#ab5be4',
    950: '#000000',
  },
}
SCSS
$custom: #ab5be4;
$custom-light: #c88ded;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5be4",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 228
  },
  "hsl": {
    "h": 275.036,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6254,
    "c": 0.2053,
    "h": 308.5
  },
  "luminance": 0.21742
}

Semantic roles & 50–950 ramp

primary
#AB5BE4
secondary
#C9E6B4
accent
#D41262
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB5BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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