#AB58F7#AB58F7

#AB58F7 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.4% C 0.229 H 304.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AB58F7
RGBrgb(171, 88, 247)
HSLhsl(271, 91%, 66%)
HSVhsv(271, 64%, 97%)
CMYKcmyk(30.8%, 64.4%, 0%, 3.1%)
CIE-LABlab(54.40, 61.86, -66.55)
CIE-LCHlch(54.40, 90.87, 312.91°)
OKLaboklab(63.39% 0.1304 -0.1888)
OKLCHoklch(63.39% 0.229 304.6)
XYZxyz(37.0691, 22.3530, 90.3393)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58F7 #A4F758
analogous
#5B58F7 #AB58F7 #F758F3
triadic
#AB58F7 #F7AB58 #58F7AB
tetradic
#AB58F7 #F75B58 #A4F758 #58F3F7
square
#AB58F7 #F75B58 #A4F758 #58F3F7
split-complementary
#AB58F7 #F3F758 #58F75B
monochromatic
#6F0ACB #8E1EF4 #AB58F7 #C892FA #E6CDFD

Accessibility & contrast

On white

3.84
#AB58F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#AB58F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58F7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58F7#FFFFFF#000000##000000
##AB58F71.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FC
Deuteranopia (green-blind)
#2882F4
Tritanopia (blue-blind)
#9D7AA0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab58f7;
/* rgb */ color: rgb(171, 88, 247);
/* oklch */ color: oklch(63.4% 0.229 304.6);
Tailwind
colors: {
  custom: {
    50: '#c98cfb',
    500: '#ab58f7',
    950: '#000000',
  },
}
SCSS
$custom: #ab58f7;
$custom-light: #c98cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58f7",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 247
  },
  "hsl": {
    "h": 271.321,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63386,
    "c": 0.22939,
    "h": 304.6
  },
  "luminance": 0.22353
}

Semantic roles & 50–950 ramp

primary
#AB58F7
secondary
#D4F0BB
accent
#E6006E
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB58F7

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

Preview Lab → · Contrast checker → · Palette generator →

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