#AB57F0#AB57F0

#AB57F0 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.8% C 0.223 H 306.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AB57F0
RGBrgb(171, 87, 240)
HSLhsl(273, 84%, 64%)
HSVhsv(273, 64%, 94%)
CMYKcmyk(28.8%, 63.7%, 0%, 5.9%)
CIE-LABlab(53.78, 60.75, -63.65)
CIE-LCHlch(53.78, 87.99, 313.67°)
OKLaboklab(62.8% 0.132 -0.1802)
OKLCHoklch(62.8% 0.223 306.2)
XYZxyz(35.9276, 21.7659, 84.7297)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB57F0 #9CF057
analogous
#5F57F0 #AB57F0 #F057E9
triadic
#AB57F0 #F0AB57 #57F0AB
tetradic
#AB57F0 #F05F57 #9CF057 #57E9F0
square
#AB57F0 #F05F57 #9CF057 #57E9F0
split-complementary
#AB57F0 #E9F057 #57F05F
monochromatic
#6F11BC #8F1FEB #AB57F0 #C78FF5 #E3C7FA

Accessibility & contrast

On white

3.92
#AB57F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#AB57F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB57F0
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB57F0#FFFFFF#000000##000000
##AB57F01.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF5
Deuteranopia (green-blind)
#3381ED
Tritanopia (blue-blind)
#9F779C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab57f0;
/* rgb */ color: rgb(171, 87, 240);
/* oklch */ color: oklch(62.8% 0.223 306.2);
Tailwind
colors: {
  custom: {
    50: '#c88bf6',
    500: '#ab57f0',
    950: '#000000',
  },
}
SCSS
$custom: #ab57f0;
$custom-light: #c88bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab57f0",
  "rgb": {
    "r": 171,
    "g": 87,
    "b": 240
  },
  "hsl": {
    "h": 272.941,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62795,
    "c": 0.22339,
    "h": 306.2
  },
  "luminance": 0.21766
}

Semantic roles & 50–950 ramp

primary
#AB57F0
secondary
#CFECB7
accent
#E00568
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB57F0

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

Preview Lab → · Contrast checker → · Palette generator →

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