#AB58FF#AB58FF

#AB58FF is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.9% C 0.238 H 303.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AB58FF
RGBrgb(171, 88, 255)
HSLhsl(270, 100%, 67%)
HSVhsv(270, 65%, 100%)
CMYKcmyk(32.9%, 65.5%, 0%, 0%)
CIE-LABlab(54.93, 63.69, -70.14)
CIE-LCHlch(54.93, 94.75, 312.24°)
OKLaboklab(63.93% 0.1296 -0.1993)
OKLCHoklch(63.93% 0.238 303)
XYZxyz(38.3301, 22.8574, 96.9809)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58FF #ACFF58
analogous
#5859FF #AB58FF #FE58FF
triadic
#AB58FF #FFAB58 #58FFAB
tetradic
#AB58FF #FF5859 #ACFF58 #58FFFE
square
#AB58FF #FF5859 #ACFF58 #58FFFE
split-complementary
#AB58FF #FFFE58 #59FF58
monochromatic
#6E00DD #8C1BFF #AB58FF #CA95FF #E9D2FF

Accessibility & contrast

On white

3.77
#AB58FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#AB58FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58FF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58FF#FFFFFF#000000##000000
##AB58FF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#1183FB
Tritanopia (blue-blind)
#9A7DA4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab58ff;
/* rgb */ color: rgb(171, 88, 255);
/* oklch */ color: oklch(63.9% 0.238 303.0);
Tailwind
colors: {
  custom: {
    50: '#c98cff',
    500: '#ab58ff',
    950: '#000000',
  },
}
SCSS
$custom: #ab58ff;
$custom-light: #c98cff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58ff",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 255
  },
  "hsl": {
    "h": 269.82,
    "s": 100,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6393,
    "c": 0.23774,
    "h": 303
  },
  "luminance": 0.22857
}

Semantic roles & 50–950 ramp

primary
#AB58FF
secondary
#DAF4BF
accent
#E60073
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C18
muted
#827D86

Preview Lab

Preview with #AB58FF

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

Preview Lab → · Contrast checker → · Palette generator →

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