#AB57EE#AB57EE

#AB57EE is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.7% C 0.221 H 306.7°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AB57EE
RGBrgb(171, 87, 238)
HSLhsl(273, 82%, 64%)
HSVhsv(273, 63%, 93%)
CMYKcmyk(28.2%, 63.4%, 0%, 6.7%)
CIE-LABlab(53.65, 60.31, -62.74)
CIE-LCHlch(53.65, 87.02, 313.87°)
OKLaboklab(62.66% 0.1321 -0.1776)
OKLCHoklch(62.66% 0.221 306.7)
XYZxyz(35.6321, 21.6477, 83.1736)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB57EE #9AEE57
analogous
#5F57EE #AB57EE #EE57E6
triadic
#AB57EE #EEAB57 #57EEAB
tetradic
#AB57EE #EE5F57 #9AEE57 #57E6EE
square
#AB57EE #EE5F57 #9AEE57 #57E6EE
split-complementary
#AB57EE #E6EE57 #57EE5F
monochromatic
#6F13B8 #8F1FE8 #AB57EE #C78FF4 #E3C6F9

Accessibility & contrast

On white

3.94
#AB57EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#AB57EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB57EE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB57EE#FFFFFF#000000##000000
##AB57EE1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#3681EB
Tritanopia (blue-blind)
#A0779B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab57ee;
/* rgb */ color: rgb(171, 87, 238);
/* oklch */ color: oklch(62.7% 0.221 306.7);
Tailwind
colors: {
  custom: {
    50: '#c88bf4',
    500: '#ab57ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab57ee;
$custom-light: #c88bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab57ee",
  "rgb": {
    "r": 171,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 273.377,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62663,
    "c": 0.22131,
    "h": 306.7
  },
  "luminance": 0.21647
}

Semantic roles & 50–950 ramp

primary
#AB57EE
secondary
#CDEBB6
accent
#DE0867
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB57EE

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

Preview Lab → · Contrast checker → · Palette generator →

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