#AB4CE0#AB4CE0

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

Color values

HEX#AB4CE0
RGBrgb(171, 76, 224)
HSLhsl(279, 70%, 59%)
HSVhsv(279, 66%, 88%)
CMYKcmyk(23.7%, 66.1%, 0%, 12.2%)
CIE-LABlab(50.93, 62.32, -59.23)
CIE-LCHlch(50.93, 85.98, 316.46°)
OKLaboklab(60.42% 0.1453 -0.1672)
OKLCHoklch(60.42% 0.221 311)
XYZxyz(32.8310, 19.2094, 72.4848)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4CE0 #81E04C
analogous
#614CE0 #AB4CE0 #E04CCB
triadic
#AB4CE0 #E0AB4C #4CE0AB
tetradic
#AB4CE0 #E0614C #81E04C #4CCBE0
square
#AB4CE0 #E0614C #81E04C #4CCBE0
split-complementary
#AB4CE0 #CBE04C #4CE061
monochromatic
#6B1A97 #8F23CC #AB4CE0 #C380E9 #DCB4F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB4CE0#FFFFFF#000000##000000
##AB4CE01.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)
#0075E4
Deuteranopia (green-blind)
#3A7BDD
Tritanopia (blue-blind)
#A46A90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ab4ce0;
/* rgb */ color: rgb(171, 76, 224);
/* oklch */ color: oklch(60.4% 0.221 311.0);
Tailwind
colors: {
  custom: {
    50: '#c884ea',
    500: '#ab4ce0',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ce0;
$custom-light: #c884ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ce0",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 224
  },
  "hsl": {
    "h": 278.514,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60423,
    "c": 0.22148,
    "h": 311
  },
  "luminance": 0.19209
}

Semantic roles & 50–950 ramp

primary
#AB4CE0
secondary
#BCE1A7
accent
#ED3B7B
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AB4CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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