#AB56E0#AB56E0

#AB56E0 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.6% C 0.208 H 310.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AB56E0
RGBrgb(171, 86, 224)
HSLhsl(277, 69%, 61%)
HSVhsv(277, 62%, 88%)
CMYKcmyk(23.7%, 61.6%, 0%, 12.2%)
CIE-LABlab(52.62, 57.69, -56.53)
CIE-LCHlch(52.62, 80.77, 315.58°)
OKLaboklab(61.64% 0.1339 -0.1593)
OKLCHoklch(61.64% 0.208 310)
XYZxyz(33.5743, 20.6960, 72.7326)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB56E0 #8BE056
analogous
#6656E0 #AB56E0 #E056D0
triadic
#AB56E0 #E0AB56 #56E0AB
tetradic
#AB56E0 #E06656 #8BE056 #56D0E0
square
#AB56E0 #E06656 #8BE056 #56D0E0
split-complementary
#AB56E0 #D0E056 #56E066
monochromatic
#6D1D9F #9027D2 #AB56E0 #C58AE9 #DEBDF3

Accessibility & contrast

On white

4.09
#AB56E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#AB56E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB56E0
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB56E0#FFFFFF#000000##000000
##AB56E01.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#157AE4
Deuteranopia (green-blind)
#457FDD
Tritanopia (blue-blind)
#A47193
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab56e0;
/* rgb */ color: rgb(171, 86, 224);
/* oklch */ color: oklch(61.6% 0.208 310.0);
Tailwind
colors: {
  custom: {
    50: '#c88aea',
    500: '#ab56e0',
    950: '#000000',
  },
}
SCSS
$custom: #ab56e0;
$custom-light: #c88aea;
$custom-dark: #000000;
JSON
{
  "hex": "#ab56e0",
  "rgb": {
    "r": 171,
    "g": 86,
    "b": 224
  },
  "hsl": {
    "h": 276.957,
    "s": 69,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61638,
    "c": 0.20812,
    "h": 310
  },
  "luminance": 0.20695
}

Semantic roles & 50–950 ramp

primary
#AB56E0
secondary
#C3E3AF
accent
#D1155D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB56E0

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

Preview Lab → · Contrast checker → · Palette generator →

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