#AB58F1#AB58F1

#AB58F1 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.0% C 0.223 H 305.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AB58F1
RGBrgb(171, 88, 241)
HSLhsl(273, 85%, 65%)
HSVhsv(273, 63%, 95%)
CMYKcmyk(29%, 63.5%, 0%, 5.5%)
CIE-LABlab(54.01, 60.50, -63.83)
CIE-LCHlch(54.01, 87.95, 313.47°)
OKLaboklab(62.99% 0.1308 -0.1808)
OKLCHoklch(62.99% 0.223 305.9)
XYZxyz(36.1581, 21.9886, 85.5414)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58F1 #9EF158
analogous
#5F58F1 #AB58F1 #F158EA
triadic
#AB58F1 #F1AB58 #58F1AB
tetradic
#AB58F1 #F15F58 #9EF158 #58EAF1
square
#AB58F1 #F15F58 #9EF158 #58EAF1
split-complementary
#AB58F1 #EAF158 #58F15F
monochromatic
#6F10BF #8F20EC #AB58F1 #C790F6 #E4C9FA

Accessibility & contrast

On white

3.89
#AB58F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#AB58F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58F1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58F1#FFFFFF#000000##000000
##AB58F11.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF6
Deuteranopia (green-blind)
#3382EE
Tritanopia (blue-blind)
#9F789D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab58f1;
/* rgb */ color: rgb(171, 88, 241);
/* oklch */ color: oklch(63.0% 0.223 305.9);
Tailwind
colors: {
  custom: {
    50: '#c88cf6',
    500: '#ab58f1',
    950: '#000000',
  },
}
SCSS
$custom: #ab58f1;
$custom-light: #c88cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58f1",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 241
  },
  "hsl": {
    "h": 272.549,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62986,
    "c": 0.22312,
    "h": 305.9
  },
  "luminance": 0.21988
}

Semantic roles & 50–950 ramp

primary
#AB58F1
secondary
#D0EDB8
accent
#E10569
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB58F1

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

Preview Lab → · Contrast checker → · Palette generator →

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