#AB56F4#AB56F4

#AB56F4 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.9% C 0.229 H 305.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AB56F4
RGBrgb(171, 86, 244)
HSLhsl(272, 88%, 65%)
HSVhsv(272, 65%, 96%)
CMYKcmyk(29.9%, 64.8%, 0%, 4.3%)
CIE-LABlab(53.86, 62.13, -65.75)
CIE-LCHlch(53.86, 90.46, 313.38°)
OKLaboklab(62.94% 0.1328 -0.1864)
OKLCHoklch(62.94% 0.229 305.5)
XYZxyz(36.4479, 21.8454, 87.8669)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB56F4 #9FF456
analogous
#5C56F4 #AB56F4 #F456EE
triadic
#AB56F4 #F4AB56 #56F4AB
tetradic
#AB56F4 #F45C56 #9FF456 #56EEF4
square
#AB56F4 #F45C56 #9FF456 #56EEF4
split-complementary
#AB56F4 #EEF456 #56F45C
monochromatic
#6F0DC3 #8E1DF0 #AB56F4 #C88FF8 #E4C9FB

Accessibility & contrast

On white

3.91
#AB56F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#AB56F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB56F4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB56F4#FFFFFF#000000##000000
##AB56F41.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF9
Deuteranopia (green-blind)
#2A81F1
Tritanopia (blue-blind)
#9E789E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab56f4;
/* rgb */ color: rgb(171, 86, 244);
/* oklch */ color: oklch(62.9% 0.229 305.5);
Tailwind
colors: {
  custom: {
    50: '#c98bf9',
    500: '#ab56f4',
    950: '#000000',
  },
}
SCSS
$custom: #ab56f4;
$custom-light: #c98bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab56f4",
  "rgb": {
    "r": 171,
    "g": 86,
    "b": 244
  },
  "hsl": {
    "h": 272.278,
    "s": 87.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62937,
    "c": 0.22884,
    "h": 305.5
  },
  "luminance": 0.21845
}

Semantic roles & 50–950 ramp

primary
#AB56F4
secondary
#D1EEB8
accent
#E4016A
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB56F4

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

Preview Lab → · Contrast checker → · Palette generator →

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