#AB56E6#AB56E6

#AB56E6 is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.0% C 0.214 H 308.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AB56E6
RGBrgb(171, 86, 230)
HSLhsl(275, 74%, 62%)
HSVhsv(275, 63%, 90%)
CMYKcmyk(25.7%, 62.6%, 0%, 9.8%)
CIE-LABlab(52.98, 59.01, -59.33)
CIE-LCHlch(52.98, 83.68, 314.84°)
OKLaboklab(62.02% 0.1337 -0.1675)
OKLCHoklch(62.02% 0.214 308.6)
XYZxyz(34.4024, 21.0272, 77.0939)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB56E6 #91E656
analogous
#6356E6 #AB56E6 #E656D9
triadic
#AB56E6 #E6AB56 #56E6AB
tetradic
#AB56E6 #E66356 #91E656 #56D9E6
square
#AB56E6 #E66356 #91E656 #56D9E6
split-complementary
#AB56E6 #D9E656 #56E663
monochromatic
#6E19A9 #9021DE #AB56E6 #C68BEE #E0C1F6

Accessibility & contrast

On white

4.03
#AB56E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#AB56E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB56E6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB56E6#FFFFFF#000000##000000
##AB56E61.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#3F80E3
Tritanopia (blue-blind)
#A27396
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab56e6;
/* rgb */ color: rgb(171, 86, 230);
/* oklch */ color: oklch(62.0% 0.214 308.6);
Tailwind
colors: {
  custom: {
    50: '#c88aef',
    500: '#ab56e6',
    950: '#000000',
  },
}
SCSS
$custom: #ab56e6;
$custom-light: #c88aef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab56e6",
  "rgb": {
    "r": 171,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 275.417,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62019,
    "c": 0.21433,
    "h": 308.6
  },
  "luminance": 0.21027
}

Semantic roles & 50–950 ramp

primary
#AB56E6
secondary
#C7E6B1
accent
#D60F61
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AB56E6

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

Preview Lab → · Contrast checker → · Palette generator →

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