#AB58E4#AB58E4

#AB58E4 is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.1% C 0.209 H 308.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AB58E4
RGBrgb(171, 88, 228)
HSLhsl(276, 72%, 62%)
HSVhsv(276, 61%, 89%)
CMYKcmyk(25%, 61.4%, 0%, 10.6%)
CIE-LABlab(53.21, 57.60, -57.83)
CIE-LCHlch(53.21, 81.63, 314.89°)
OKLaboklab(62.15% 0.1314 -0.1631)
OKLCHoklch(62.15% 0.21 308.9)
XYZxyz(34.2851, 21.2394, 75.6772)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58E4 #91E458
analogous
#6558E4 #AB58E4 #E458D7
triadic
#AB58E4 #E4AB58 #58E4AB
tetradic
#AB58E4 #E46558 #91E458 #58D7E4
square
#AB58E4 #E46558 #91E458 #58D7E4
split-complementary
#AB58E4 #D7E458 #58E465
monochromatic
#6E1BA7 #9023DB #AB58E4 #C58DED #E0C1F5

Accessibility & contrast

On white

4.00
#AB58E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#AB58E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58E4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58E4#FFFFFF#000000##000000
##AB58E41.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#117CE8
Deuteranopia (green-blind)
#4380E1
Tritanopia (blue-blind)
#A37496
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ab58e4;
/* rgb */ color: rgb(171, 88, 228);
/* oklch */ color: oklch(62.1% 0.209 308.9);
Tailwind
colors: {
  custom: {
    50: '#c88bed',
    500: '#ab58e4',
    950: '#000000',
  },
}
SCSS
$custom: #ab58e4;
$custom-light: #c88bed;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58e4",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 275.571,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62147,
    "c": 0.2095,
    "h": 308.9
  },
  "luminance": 0.21239
}

Semantic roles & 50–950 ramp

primary
#AB58E4
secondary
#C7E6B2
accent
#D41161
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB58E4

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

Preview Lab → · Contrast checker → · Palette generator →

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