#AB58E8#AB58E8

#AB58E8 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.4% C 0.214 H 307.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AB58E8
RGBrgb(171, 88, 232)
HSLhsl(275, 76%, 63%)
HSVhsv(275, 62%, 91%)
CMYKcmyk(26.3%, 62.1%, 0%, 9%)
CIE-LABlab(53.45, 58.49, -59.69)
CIE-LCHlch(53.45, 83.57, 314.42°)
OKLaboklab(62.4% 0.1313 -0.1686)
OKLCHoklch(62.4% 0.214 307.9)
XYZxyz(34.8468, 21.4641, 78.6355)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58E8 #95E858
analogous
#6358E8 #AB58E8 #E858DD
triadic
#AB58E8 #E8AB58 #58E8AB
tetradic
#AB58E8 #E86358 #95E858 #58DDE8
square
#AB58E8 #E86358 #95E858 #58DDE8
split-complementary
#AB58E8 #DDE858 #58E863
monochromatic
#6E18AE #9022E1 #AB58E8 #C68EEF #E1C4F7

Accessibility & contrast

On white

3.97
#AB58E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#AB58E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58E8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58E8#FFFFFF#000000##000000
##AB58E81.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEC
Deuteranopia (green-blind)
#3F81E5
Tritanopia (blue-blind)
#A27598
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab58e8;
/* rgb */ color: rgb(171, 88, 232);
/* oklch */ color: oklch(62.4% 0.214 307.9);
Tailwind
colors: {
  custom: {
    50: '#c88cf0',
    500: '#ab58e8',
    950: '#000000',
  },
}
SCSS
$custom: #ab58e8;
$custom-light: #c88cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58e8",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 274.583,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62401,
    "c": 0.2137,
    "h": 307.9
  },
  "luminance": 0.21464
}

Semantic roles & 50–950 ramp

primary
#AB58E8
secondary
#CAE8B4
accent
#D80E63
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB58E8

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

Preview Lab → · Contrast checker → · Palette generator →

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