#AB4BE3#AB4BE3

#AB4BE3 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.5% C 0.226 H 310.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AB4BE3
RGBrgb(171, 75, 227)
HSLhsl(278, 73%, 59%)
HSVhsv(278, 67%, 89%)
CMYKcmyk(24.7%, 67%, 0%, 11%)
CIE-LABlab(50.96, 63.40, -60.88)
CIE-LCHlch(50.96, 87.90, 316.16°)
OKLaboklab(60.51% 0.1461 -0.172)
OKLCHoklch(60.51% 0.226 310.3)
XYZxyz(33.1731, 19.2368, 74.6237)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BE3 #83E34B
analogous
#5F4BE3 #AB4BE3 #E34BCF
triadic
#AB4BE3 #E3AB4B #4BE3AB
tetradic
#AB4BE3 #E35F4B #83E34B #4BCFE3
square
#AB4BE3 #E35F4B #83E34B #4BCFE3
split-complementary
#AB4BE3 #CFE34B #4BE35F
monochromatic
#6B189B #9020D0 #AB4BE3 #C480EB #DCB5F3

Accessibility & contrast

On white

4.33
#AB4BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#AB4BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4BE3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BE3#FFFFFF#000000##000000
##AB4BE31.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#357BE0
Tritanopia (blue-blind)
#A36B91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4be3;
/* rgb */ color: rgb(171, 75, 227);
/* oklch */ color: oklch(60.5% 0.226 310.3);
Tailwind
colors: {
  custom: {
    50: '#c884ed',
    500: '#ab4be3',
    950: '#000000',
  },
}
SCSS
$custom: #ab4be3;
$custom-light: #c884ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4be3",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 227
  },
  "hsl": {
    "h": 277.895,
    "s": 73.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60507,
    "c": 0.22568,
    "h": 310.3
  },
  "luminance": 0.19236
}

Semantic roles & 50–950 ramp

primary
#AB4BE3
secondary
#BDE3A7
accent
#F0387C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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