#AB58E7#AB58E7

#AB58E7 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.3% C 0.213 H 308.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AB58E7
RGBrgb(171, 88, 231)
HSLhsl(275, 75%, 63%)
HSVhsv(275, 62%, 91%)
CMYKcmyk(26%, 61.9%, 0%, 9.4%)
CIE-LABlab(53.39, 58.27, -59.23)
CIE-LCHlch(53.39, 83.08, 314.53°)
OKLaboklab(62.34% 0.1313 -0.1672)
OKLCHoklch(62.34% 0.213 308.1)
XYZxyz(34.7052, 21.4074, 77.8896)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58E7 #94E758
analogous
#6358E7 #AB58E7 #E758DC
triadic
#AB58E7 #E7AB58 #58E7AB
tetradic
#AB58E7 #E76358 #94E758 #58DCE7
square
#AB58E7 #E76358 #94E758 #58DCE7
split-complementary
#AB58E7 #DCE758 #58E763
monochromatic
#6E19AC #9022DF #AB58E7 #C68EEF #E1C3F6

Accessibility & contrast

On white

3.98
#AB58E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#AB58E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58E7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58E7#FFFFFF#000000##000000
##AB58E71.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#037CEB
Deuteranopia (green-blind)
#4080E4
Tritanopia (blue-blind)
#A27598
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab58e7;
/* rgb */ color: rgb(171, 88, 231);
/* oklch */ color: oklch(62.3% 0.213 308.1);
Tailwind
colors: {
  custom: {
    50: '#c88cef',
    500: '#ab58e7',
    950: '#000000',
  },
}
SCSS
$custom: #ab58e7;
$custom-light: #c88cef;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58e7",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 274.825,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62337,
    "c": 0.21264,
    "h": 308.1
  },
  "luminance": 0.21407
}

Semantic roles & 50–950 ramp

primary
#AB58E7
secondary
#C9E7B3
accent
#D70E63
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB58E7

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

Preview Lab → · Contrast checker → · Palette generator →

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