#AB58E9#AB58E9

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

Color values

HEX#AB58E9
RGBrgb(171, 88, 233)
HSLhsl(274, 77%, 63%)
HSVhsv(274, 62%, 91%)
CMYKcmyk(26.6%, 62.2%, 0%, 8.6%)
CIE-LABlab(53.52, 58.71, -60.15)
CIE-LCHlch(53.52, 84.06, 314.31°)
OKLaboklab(62.47% 0.1313 -0.17)
OKLCHoklch(62.47% 0.215 307.7)
XYZxyz(34.9893, 21.5210, 79.3857)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58E9 #96E958
analogous
#6258E9 #AB58E9 #E958DE
triadic
#AB58E9 #E9AB58 #58E9AB
tetradic
#AB58E9 #E96258 #96E958 #58DEE9
square
#AB58E9 #E96258 #96E958 #58DEE9
split-complementary
#AB58E9 #DEE958 #58E962
monochromatic
#6E17AF #9022E2 #AB58E9 #C68EF0 #E1C4F7

Accessibility & contrast

On white

3.96
#AB58E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#AB58E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58E9
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58E9#FFFFFF#000000##000000
##AB58E91.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#3E81E6
Tritanopia (blue-blind)
#A17599
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab58e9;
/* rgb */ color: rgb(171, 88, 233);
/* oklch */ color: oklch(62.5% 0.215 307.7);
Tailwind
colors: {
  custom: {
    50: '#c88cf1',
    500: '#ab58e9',
    950: '#000000',
  },
}
SCSS
$custom: #ab58e9;
$custom-light: #c88cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58e9",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 233
  },
  "hsl": {
    "h": 274.345,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62465,
    "c": 0.21474,
    "h": 307.7
  },
  "luminance": 0.21521
}

Semantic roles & 50–950 ramp

primary
#AB58E9
secondary
#CBE8B4
accent
#D90D64
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB58E9

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

Preview Lab → · Contrast checker → · Palette generator →

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