#AB58EC#AB58EC

#AB58EC is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.7% C 0.218 H 307.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AB58EC
RGBrgb(171, 88, 236)
HSLhsl(274, 80%, 64%)
HSVhsv(274, 63%, 93%)
CMYKcmyk(27.5%, 62.7%, 0%, 7.5%)
CIE-LABlab(53.70, 59.38, -61.54)
CIE-LCHlch(53.70, 85.52, 313.98°)
OKLaboklab(62.66% 0.1311 -0.174)
OKLCHoklch(62.66% 0.218 307)
XYZxyz(35.4215, 21.6939, 81.6619)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58EC #99EC58
analogous
#6158EC #AB58EC #EC58E3
triadic
#AB58EC #ECAB58 #58ECAB
tetradic
#AB58EC #EC6158 #99EC58 #58E3EC
square
#AB58EC #EC6158 #99EC58 #58E3EC
split-complementary
#AB58EC #E3EC58 #58EC61
monochromatic
#6F15B5 #8F21E6 #AB58EC #C78FF2 #E2C6F9

Accessibility & contrast

On white

3.93
#AB58EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#AB58EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58EC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58EC#FFFFFF#000000##000000
##AB58EC1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#3A81E9
Tritanopia (blue-blind)
#A0769A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab58ec;
/* rgb */ color: rgb(171, 88, 236);
/* oklch */ color: oklch(62.7% 0.218 307.0);
Tailwind
colors: {
  custom: {
    50: '#c88cf3',
    500: '#ab58ec',
    950: '#000000',
  },
}
SCSS
$custom: #ab58ec;
$custom-light: #c88cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58ec",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 273.649,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62659,
    "c": 0.21788,
    "h": 307
  },
  "luminance": 0.21694
}

Semantic roles & 50–950 ramp

primary
#AB58EC
secondary
#CDEAB6
accent
#DC0A66
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB58EC

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

Preview Lab → · Contrast checker → · Palette generator →

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