#AB58ED#AB58ED

#AB58ED is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.7% C 0.219 H 306.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AB58ED
RGBrgb(171, 88, 237)
HSLhsl(273, 81%, 64%)
HSVhsv(273, 63%, 93%)
CMYKcmyk(27.8%, 62.9%, 0%, 7.1%)
CIE-LABlab(53.76, 59.60, -62.00)
CIE-LCHlch(53.76, 86.00, 313.87°)
OKLaboklab(62.72% 0.1311 -0.1754)
OKLCHoklch(62.72% 0.219 306.8)
XYZxyz(35.5671, 21.7522, 82.4292)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58ED #9AED58
analogous
#6058ED #AB58ED #ED58E4
triadic
#AB58ED #EDAB58 #58EDAB
tetradic
#AB58ED #ED6058 #9AED58 #58E4ED
square
#AB58ED #ED6058 #9AED58 #58E4ED
split-complementary
#AB58ED #E4ED58 #58ED60
monochromatic
#6F14B7 #8F21E7 #AB58ED #C78FF3 #E3C6F9

Accessibility & contrast

On white

3.92
#AB58ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#AB58ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58ED
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58ED#FFFFFF#000000##000000
##AB58ED1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF2
Deuteranopia (green-blind)
#3981EA
Tritanopia (blue-blind)
#A0779B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab58ed;
/* rgb */ color: rgb(171, 88, 237);
/* oklch */ color: oklch(62.7% 0.219 306.8);
Tailwind
colors: {
  custom: {
    50: '#c88cf4',
    500: '#ab58ed',
    950: '#000000',
  },
}
SCSS
$custom: #ab58ed;
$custom-light: #c88cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58ed",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 273.423,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62724,
    "c": 0.21893,
    "h": 306.8
  },
  "luminance": 0.21752
}

Semantic roles & 50–950 ramp

primary
#AB58ED
secondary
#CDEBB6
accent
#DD0967
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB58ED

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

Preview Lab → · Contrast checker → · Palette generator →

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