#AB58EA#AB58EA

#AB58EA is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.5% C 0.216 H 307.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#AB58EA
RGBrgb(171, 88, 234)
HSLhsl(274, 78%, 63%)
HSVhsv(274, 62%, 92%)
CMYKcmyk(26.9%, 62.4%, 0%, 8.2%)
CIE-LABlab(53.58, 58.93, -60.62)
CIE-LCHlch(53.58, 84.54, 314.19°)
OKLaboklab(62.53% 0.1312 -0.1713)
OKLCHoklch(62.53% 0.216 307.4)
XYZxyz(35.1325, 21.5783, 80.1402)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58EA #97EA58
analogous
#6258EA #AB58EA #EA58E0
triadic
#AB58EA #EAAB58 #58EAAB
tetradic
#AB58EA #EA6258 #97EA58 #58E0EA
square
#AB58EA #EA6258 #97EA58 #58E0EA
split-complementary
#AB58EA #E0EA58 #58EA62
monochromatic
#6E16B1 #9022E3 #AB58EA #C68EF1 #E2C5F8

Accessibility & contrast

On white

3.95
#AB58EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#AB58EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58EA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58EA#FFFFFF#000000##000000
##AB58EA1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#3D81E7
Tritanopia (blue-blind)
#A17699
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab58ea;
/* rgb */ color: rgb(171, 88, 234);
/* oklch */ color: oklch(62.5% 0.216 307.4);
Tailwind
colors: {
  custom: {
    50: '#c88cf1',
    500: '#ab58ea',
    950: '#000000',
  },
}
SCSS
$custom: #ab58ea;
$custom-light: #c88cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58ea",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 274.11,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62529,
    "c": 0.21579,
    "h": 307.4
  },
  "luminance": 0.21578
}

Semantic roles & 50–950 ramp

primary
#AB58EA
secondary
#CBE9B5
accent
#DA0C65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB58EA

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

Preview Lab → · Contrast checker → · Palette generator →

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