#AB58EE#AB58EE

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

Color values

HEX#AB58EE
RGBrgb(171, 88, 238)
HSLhsl(273, 82%, 64%)
HSVhsv(273, 63%, 93%)
CMYKcmyk(28.2%, 63%, 0%, 6.7%)
CIE-LABlab(53.83, 59.83, -62.46)
CIE-LCHlch(53.83, 86.49, 313.77°)
OKLaboklab(62.79% 0.131 -0.1767)
OKLCHoklch(62.79% 0.22 306.5)
XYZxyz(35.7136, 21.8108, 83.2008)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58EE #9BEE58
analogous
#6058EE #AB58EE #EE58E6
triadic
#AB58EE #EEAB58 #58EEAB
tetradic
#AB58EE #EE6058 #9BEE58 #58E6EE
square
#AB58EE #EE6058 #9BEE58 #58E6EE
split-complementary
#AB58EE #E6EE58 #58EE60
monochromatic
#6F13B9 #8F20E8 #AB58EE #C790F4 #E3C7F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB58EE#FFFFFF#000000##000000
##AB58EE1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#3781EB
Tritanopia (blue-blind)
#A0779B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab58ee;
/* rgb */ color: rgb(171, 88, 238);
/* oklch */ color: oklch(62.8% 0.220 306.5);
Tailwind
colors: {
  custom: {
    50: '#c88cf4',
    500: '#ab58ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab58ee;
$custom-light: #c88cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58ee",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 238
  },
  "hsl": {
    "h": 273.2,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62789,
    "c": 0.21998,
    "h": 306.5
  },
  "luminance": 0.2181
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB58EE

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

Preview Lab → · Contrast checker → · Palette generator →

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