#AB4BE1#AB4BE1

#AB4BE1 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.4% C 0.224 H 310.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AB4BE1
RGBrgb(171, 75, 225)
HSLhsl(278, 71%, 59%)
HSVhsv(278, 67%, 88%)
CMYKcmyk(24%, 66.7%, 0%, 11.8%)
CIE-LABlab(50.84, 62.98, -59.95)
CIE-LCHlch(50.84, 86.95, 316.41°)
OKLaboklab(60.38% 0.1463 -0.1693)
OKLCHoklch(60.38% 0.224 310.8)
XYZxyz(32.8987, 19.1271, 73.1784)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BE1 #81E14B
analogous
#604BE1 #AB4BE1 #E14BCC
triadic
#AB4BE1 #E1AB4B #4BE1AB
tetradic
#AB4BE1 #E1604B #81E14B #4BCCE1
square
#AB4BE1 #E1604B #81E14B #4BCCE1
split-complementary
#AB4BE1 #CCE14B #4BE160
monochromatic
#6B1998 #8F22CD #AB4BE1 #C37FEA #DCB4F2

Accessibility & contrast

On white

4.35
#AB4BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#AB4BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4BE1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BE1#FFFFFF#000000##000000
##AB4BE11.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#377BDE
Tritanopia (blue-blind)
#A46A90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4be1;
/* rgb */ color: rgb(171, 75, 225);
/* oklch */ color: oklch(60.4% 0.224 310.8);
Tailwind
colors: {
  custom: {
    50: '#c884eb',
    500: '#ab4be1',
    950: '#000000',
  },
}
SCSS
$custom: #ab4be1;
$custom-light: #c884eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4be1",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 278.4,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60375,
    "c": 0.22373,
    "h": 310.8
  },
  "luminance": 0.19126
}

Semantic roles & 50–950 ramp

primary
#AB4BE1
secondary
#BCE1A6
accent
#EE3A7B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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