#AB58F2#AB58F2

#AB58F2 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.1% C 0.224 H 305.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AB58F2
RGBrgb(171, 88, 242)
HSLhsl(272, 86%, 65%)
HSVhsv(272, 64%, 95%)
CMYKcmyk(29.3%, 63.6%, 0%, 5.1%)
CIE-LABlab(54.08, 60.73, -64.29)
CIE-LCHlch(54.08, 88.43, 313.37°)
OKLaboklab(63.05% 0.1307 -0.1821)
OKLCHoklch(63.05% 0.224 305.7)
XYZxyz(36.3078, 22.0485, 86.3302)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58F2 #9FF258
analogous
#5E58F2 #AB58F2 #F258EC
triadic
#AB58F2 #F2AB58 #58F2AB
tetradic
#AB58F2 #F25E58 #9FF258 #58ECF2
square
#AB58F2 #F25E58 #9FF258 #58ECF2
split-complementary
#AB58F2 #ECF258 #58F25E
monochromatic
#6F0FC1 #8E1FEE #AB58F2 #C891F6 #E4CAFB

Accessibility & contrast

On white

3.88
#AB58F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#AB58F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58F2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58F2#FFFFFF#000000##000000
##AB58F21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#3182EF
Tritanopia (blue-blind)
#9F799D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab58f2;
/* rgb */ color: rgb(171, 88, 242);
/* oklch */ color: oklch(63.1% 0.224 305.7);
Tailwind
colors: {
  custom: {
    50: '#c98cf7',
    500: '#ab58f2',
    950: '#000000',
  },
}
SCSS
$custom: #ab58f2;
$custom-light: #c98cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58f2",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 272.338,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63052,
    "c": 0.22417,
    "h": 305.7
  },
  "luminance": 0.22048
}

Semantic roles & 50–950 ramp

primary
#AB58F2
secondary
#D1EDB8
accent
#E2036A
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB58F2

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

Preview Lab → · Contrast checker → · Palette generator →

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