#AB58F0#AB58F0

#AB58F0 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.9% C 0.222 H 306.1°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AB58F0
RGBrgb(171, 88, 240)
HSLhsl(273, 84%, 64%)
HSVhsv(273, 63%, 94%)
CMYKcmyk(28.8%, 63.3%, 0%, 5.9%)
CIE-LABlab(53.95, 60.28, -63.37)
CIE-LCHlch(53.95, 87.46, 313.57°)
OKLaboklab(62.92% 0.1309 -0.1794)
OKLCHoklch(62.92% 0.222 306.1)
XYZxyz(36.0091, 21.9290, 84.7569)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58F0 #9DF058
analogous
#5F58F0 #AB58F0 #F058E9
triadic
#AB58F0 #F0AB58 #58F0AB
tetradic
#AB58F0 #F05F58 #9DF058 #58E9F0
square
#AB58F0 #F05F58 #9DF058 #58E9F0
split-complementary
#AB58F0 #E9F058 #58F05F
monochromatic
#6F11BD #8F20EB #AB58F0 #C790F5 #E3C8FA

Accessibility & contrast

On white

3.90
#AB58F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#AB58F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58F0
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58F0#FFFFFF#000000##000000
##AB58F01.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF5
Deuteranopia (green-blind)
#3481ED
Tritanopia (blue-blind)
#9F789C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab58f0;
/* rgb */ color: rgb(171, 88, 240);
/* oklch */ color: oklch(62.9% 0.222 306.1);
Tailwind
colors: {
  custom: {
    50: '#c88cf6',
    500: '#ab58f0',
    950: '#000000',
  },
}
SCSS
$custom: #ab58f0;
$custom-light: #c88cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58f0",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 240
  },
  "hsl": {
    "h": 272.763,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6292,
    "c": 0.22207,
    "h": 306.1
  },
  "luminance": 0.21929
}

Semantic roles & 50–950 ramp

primary
#AB58F0
secondary
#CFECB8
accent
#E00669
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB58F0

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

Preview Lab → · Contrast checker → · Palette generator →

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