#AB58E5#AB58E5

#AB58E5 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.2% C 0.211 H 308.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AB58E5
RGBrgb(171, 88, 229)
HSLhsl(275, 73%, 62%)
HSVhsv(275, 62%, 90%)
CMYKcmyk(25.3%, 61.6%, 0%, 10.2%)
CIE-LABlab(53.27, 57.82, -58.30)
CIE-LCHlch(53.27, 82.11, 314.77°)
OKLaboklab(62.21% 0.1314 -0.1645)
OKLCHoklch(62.21% 0.211 308.6)
XYZxyz(34.4243, 21.2951, 76.4104)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58E5 #92E558
analogous
#6558E5 #AB58E5 #E558D9
triadic
#AB58E5 #E5AB58 #58E5AB
tetradic
#AB58E5 #E56558 #92E558 #58D9E5
square
#AB58E5 #E56558 #92E558 #58D9E5
split-complementary
#AB58E5 #D9E558 #58E565
monochromatic
#6E1AA8 #9023DD #AB58E5 #C68DED #E0C2F5

Accessibility & contrast

On white

3.99
#AB58E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#AB58E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58E5
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58E5#FFFFFF#000000##000000
##AB58E51.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E7CE9
Deuteranopia (green-blind)
#4280E2
Tritanopia (blue-blind)
#A27497
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab58e5;
/* rgb */ color: rgb(171, 88, 229);
/* oklch */ color: oklch(62.2% 0.211 308.6);
Tailwind
colors: {
  custom: {
    50: '#c88bee',
    500: '#ab58e5',
    950: '#000000',
  },
}
SCSS
$custom: #ab58e5;
$custom-light: #c88bee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58e5",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 275.319,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6221,
    "c": 0.21055,
    "h": 308.6
  },
  "luminance": 0.21295
}

Semantic roles & 50–950 ramp

primary
#AB58E5
secondary
#C8E6B3
accent
#D51061
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #AB58E5

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

Preview Lab → · Contrast checker → · Palette generator →

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