#AB4BE2#AB4BE2

#AB4BE2 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.4% C 0.225 H 310.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AB4BE2
RGBrgb(171, 75, 226)
HSLhsl(278, 72%, 59%)
HSVhsv(278, 67%, 89%)
CMYKcmyk(24.3%, 66.8%, 0%, 11.4%)
CIE-LABlab(50.90, 63.19, -60.42)
CIE-LCHlch(50.90, 87.42, 316.28°)
OKLaboklab(60.44% 0.1462 -0.1707)
OKLCHoklch(60.44% 0.225 310.6)
XYZxyz(33.0355, 19.1818, 73.8989)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BE2 #82E24B
analogous
#604BE2 #AB4BE2 #E24BCD
triadic
#AB4BE2 #E2AB4B #4BE2AB
tetradic
#AB4BE2 #E2604B #82E24B #4BCDE2
square
#AB4BE2 #E2604B #82E24B #4BCDE2
split-complementary
#AB4BE2 #CDE24B #4BE260
monochromatic
#6B199A #8F21CF #AB4BE2 #C480EA #DCB4F3

Accessibility & contrast

On white

4.34
#AB4BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#AB4BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4BE2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BE2#FFFFFF#000000##000000
##AB4BE21.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#367BDF
Tritanopia (blue-blind)
#A46B91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4be2;
/* rgb */ color: rgb(171, 75, 226);
/* oklch */ color: oklch(60.4% 0.225 310.6);
Tailwind
colors: {
  custom: {
    50: '#c884ec',
    500: '#ab4be2',
    950: '#000000',
  },
}
SCSS
$custom: #ab4be2;
$custom-light: #c884ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4be2",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 226
  },
  "hsl": {
    "h": 278.146,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60441,
    "c": 0.2247,
    "h": 310.6
  },
  "luminance": 0.19181
}

Semantic roles & 50–950 ramp

primary
#AB4BE2
secondary
#BCE2A7
accent
#EF397B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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