#AB4BE4#AB4BE4

#AB4BE4 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.6% C 0.227 H 310.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AB4BE4
RGBrgb(171, 75, 228)
HSLhsl(278, 74%, 59%)
HSVhsv(278, 67%, 89%)
CMYKcmyk(25%, 67.1%, 0%, 10.6%)
CIE-LABlab(51.03, 63.61, -61.34)
CIE-LCHlch(51.03, 88.37, 316.04°)
OKLaboklab(60.57% 0.146 -0.1734)
OKLCHoklch(60.57% 0.227 310.1)
XYZxyz(33.3115, 19.2922, 75.3527)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BE4 #84E44B
analogous
#5F4BE4 #AB4BE4 #E44BD1
triadic
#AB4BE4 #E4AB4B #4BE4AB
tetradic
#AB4BE4 #E45F4B #84E44B #4BD1E4
square
#AB4BE4 #E45F4B #84E44B #4BD1E4
split-complementary
#AB4BE4 #D1E44B #4BE45F
monochromatic
#6B189D #9020D2 #AB4BE4 #C480EC #DDB5F4

Accessibility & contrast

On white

4.32
#AB4BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AB4BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4BE4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BE4#FFFFFF#000000##000000
##AB4BE41.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#337BE1
Tritanopia (blue-blind)
#A36B92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab4be4;
/* rgb */ color: rgb(171, 75, 228);
/* oklch */ color: oklch(60.6% 0.227 310.1);
Tailwind
colors: {
  custom: {
    50: '#c884ed',
    500: '#ab4be4',
    950: '#000000',
  },
}
SCSS
$custom: #ab4be4;
$custom-light: #c884ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4be4",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 228
  },
  "hsl": {
    "h": 277.647,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60573,
    "c": 0.22667,
    "h": 310.1
  },
  "luminance": 0.19292
}

Semantic roles & 50–950 ramp

primary
#AB4BE4
secondary
#BEE3A8
accent
#F1377C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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