#AB4BE8#AB4BE8

#AB4BE8 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.8% C 0.231 H 309.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AB4BE8
RGBrgb(171, 75, 232)
HSLhsl(277, 77%, 60%)
HSVhsv(277, 68%, 91%)
CMYKcmyk(26.3%, 67.7%, 0%, 9%)
CIE-LABlab(51.29, 64.47, -63.18)
CIE-LCHlch(51.29, 90.26, 315.58°)
OKLaboklab(60.84% 0.1456 -0.1788)
OKLCHoklch(60.84% 0.231 309.2)
XYZxyz(33.8732, 19.5169, 78.3110)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BE8 #88E84B
analogous
#5C4BE8 #AB4BE8 #E84BD6
triadic
#AB4BE8 #E8AB4B #4BE8AB
tetradic
#AB4BE8 #E85C4B #88E84B #4BD6E8
square
#AB4BE8 #E85C4B #88E84B #4BD6E8
split-complementary
#AB4BE8 #D6E84B #4BE85C
monochromatic
#6C15A4 #901CDA #AB4BE8 #C481EF #DEB8F6

Accessibility & contrast

On white

4.28
#AB4BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#AB4BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4BE8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BE8#FFFFFF#000000##000000
##AB4BE81.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#2D7BE5
Tritanopia (blue-blind)
#A26D94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab4be8;
/* rgb */ color: rgb(171, 75, 232);
/* oklch */ color: oklch(60.8% 0.231 309.2);
Tailwind
colors: {
  custom: {
    50: '#c984f0',
    500: '#ab4be8',
    950: '#000000',
  },
}
SCSS
$custom: #ab4be8;
$custom-light: #c984f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4be8",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 232
  },
  "hsl": {
    "h": 276.688,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60841,
    "c": 0.23057,
    "h": 309.2
  },
  "luminance": 0.19516
}

Semantic roles & 50–950 ramp

primary
#AB4BE8
secondary
#C1E6A9
accent
#DA0C5C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #AB4BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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