#AB4EE6#AB4EE6

#AB4EE6 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 61.0% C 0.225 H 309.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AB4EE6
RGBrgb(171, 78, 230)
HSLhsl(277, 75%, 60%)
HSVhsv(277, 66%, 90%)
CMYKcmyk(25.7%, 66.1%, 0%, 9.8%)
CIE-LABlab(51.63, 62.71, -61.49)
CIE-LCHlch(51.63, 87.83, 315.56°)
OKLaboklab(61.05% 0.1426 -0.1738)
OKLCHoklch(61.05% 0.225 309.4)
XYZxyz(33.7991, 19.8205, 76.8928)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4EE6 #89E64E
analogous
#5F4EE6 #AB4EE6 #E64ED5
triadic
#AB4EE6 #E6AB4E #4EE6AB
tetradic
#AB4EE6 #E65F4E #89E64E #4ED5E6
square
#AB4EE6 #E65F4E #89E64E #4ED5E6
split-complementary
#AB4EE6 #D5E64E #4EE65F
monochromatic
#6C17A3 #901FD8 #AB4EE6 #C484EE #DEB9F5

Accessibility & contrast

On white

4.23
#AB4EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#AB4EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4EE6
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4EE6#FFFFFF#000000##000000
##AB4EE61.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#347CE3
Tritanopia (blue-blind)
#A36E94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab4ee6;
/* rgb */ color: rgb(171, 78, 230);
/* oklch */ color: oklch(61.0% 0.225 309.4);
Tailwind
colors: {
  custom: {
    50: '#c886ef',
    500: '#ab4ee6',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ee6;
$custom-light: #c886ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ee6",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 276.711,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61049,
    "c": 0.22485,
    "h": 309.4
  },
  "luminance": 0.1982
}

Semantic roles & 50–950 ramp

primary
#AB4EE6
secondary
#C1E5AB
accent
#D70E5C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AB4EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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