#AB57F1#AB57F1

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

Color values

HEX#AB57F1
RGBrgb(171, 87, 241)
HSLhsl(273, 85%, 64%)
HSVhsv(273, 64%, 95%)
CMYKcmyk(29%, 63.9%, 0%, 5.5%)
CIE-LABlab(53.84, 60.98, -64.11)
CIE-LCHlch(53.84, 88.48, 313.57°)
OKLaboklab(62.86% 0.1319 -0.1816)
OKLCHoklch(62.86% 0.224 306)
XYZxyz(36.0765, 21.8255, 85.5142)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB57F1 #9DF157
analogous
#5E57F1 #AB57F1 #F157EA
triadic
#AB57F1 #F1AB57 #57F1AB
tetradic
#AB57F1 #F15E57 #9DF157 #57EAF1
square
#AB57F1 #F15E57 #9DF157 #57EAF1
split-complementary
#AB57F1 #EAF157 #57F15E
monochromatic
#6F10BE #8F1FEC #AB57F1 #C78FF6 #E3C8FA

Accessibility & contrast

On white

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

On black

5.36
#AB57F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB57F1
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB57F1#FFFFFF#000000##000000
##AB57F11.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF6
Deuteranopia (green-blind)
#3181EE
Tritanopia (blue-blind)
#9F789D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab57f1;
/* rgb */ color: rgb(171, 87, 241);
/* oklch */ color: oklch(62.9% 0.224 306.0);
Tailwind
colors: {
  custom: {
    50: '#c98bf6',
    500: '#ab57f1',
    950: '#000000',
  },
}
SCSS
$custom: #ab57f1;
$custom-light: #c98bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab57f1",
  "rgb": {
    "r": 171,
    "g": 87,
    "b": 241
  },
  "hsl": {
    "h": 272.727,
    "s": 84.615,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62861,
    "c": 0.22443,
    "h": 306
  },
  "luminance": 0.21825
}

Semantic roles & 50–950 ramp

primary
#AB57F1
secondary
#CFEDB7
accent
#E10469
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB57F1

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

Preview Lab → · Contrast checker → · Palette generator →

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