#AB4BE9#AB4BE9

#AB4BE9 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.9% C 0.232 H 308.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AB4BE9
RGBrgb(171, 75, 233)
HSLhsl(276, 78%, 60%)
HSVhsv(276, 68%, 91%)
CMYKcmyk(26.6%, 67.8%, 0%, 8.6%)
CIE-LABlab(51.35, 64.68, -63.64)
CIE-LCHlch(51.35, 90.74, 315.47°)
OKLaboklab(60.91% 0.1455 -0.1801)
OKLCHoklch(60.91% 0.232 308.9)
XYZxyz(34.0157, 19.5739, 79.0612)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BE9 #89E94B
analogous
#5C4BE9 #AB4BE9 #E94BD8
triadic
#AB4BE9 #E9AB4B #4BE9AB
tetradic
#AB4BE9 #E95C4B #89E94B #4BD8E9
square
#AB4BE9 #E95C4B #89E94B #4BD8E9
split-complementary
#AB4BE9 #D8E94B #4BE95C
monochromatic
#6C14A5 #901BDC #AB4BE9 #C482F0 #DEB8F6

Accessibility & contrast

On white

4.27
#AB4BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#AB4BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4BE9
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BE9#FFFFFF#000000##000000
##AB4BE91.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab4be9;
/* rgb */ color: rgb(171, 75, 233);
/* oklch */ color: oklch(60.9% 0.232 308.9);
Tailwind
colors: {
  custom: {
    50: '#c984f1',
    500: '#ab4be9',
    950: '#000000',
  },
}
SCSS
$custom: #ab4be9;
$custom-light: #c984f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4be9",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 233
  },
  "hsl": {
    "h": 276.456,
    "s": 78.218,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60909,
    "c": 0.23155,
    "h": 308.9
  },
  "luminance": 0.19573
}

Semantic roles & 50–950 ramp

primary
#AB4BE9
secondary
#C1E6AA
accent
#DA0B5C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #AB4BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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