#AB58FA#AB58FA

#AB58FA is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.6% C 0.233 H 304.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AB58FA
RGBrgb(171, 88, 250)
HSLhsl(271, 94%, 66%)
HSVhsv(271, 65%, 98%)
CMYKcmyk(31.6%, 64.8%, 0%, 2%)
CIE-LABlab(54.59, 62.55, -67.91)
CIE-LCHlch(54.59, 92.32, 312.65°)
OKLaboklab(63.59% 0.1301 -0.1927)
OKLCHoklch(63.59% 0.233 304)
XYZxyz(37.5357, 22.5396, 92.7971)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58FA #A7FA58
analogous
#5A58FA #AB58FA #FA58F8
triadic
#AB58FA #FAAB58 #58FAAB
tetradic
#AB58FA #FA5A58 #A7FA58 #58F8FA
square
#AB58FA #FA5A58 #A7FA58 #58F8FA
split-complementary
#AB58FA #F8FA58 #58FA5A
monochromatic
#6E06D1 #8D1DF8 #AB58FA #C993FC #E7CFFE

Accessibility & contrast

On white

3.81
#AB58FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#AB58FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58FA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58FA#FFFFFF#000000##000000
##AB58FA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#2282F6
Tritanopia (blue-blind)
#9C7CA2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab58fa;
/* rgb */ color: rgb(171, 88, 250);
/* oklch */ color: oklch(63.6% 0.233 304.0);
Tailwind
colors: {
  custom: {
    50: '#c98cfd',
    500: '#ab58fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab58fa;
$custom-light: #c98cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58fa",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 250
  },
  "hsl": {
    "h": 270.741,
    "s": 94.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63588,
    "c": 0.23252,
    "h": 304
  },
  "luminance": 0.2254
}

Semantic roles & 50–950 ramp

primary
#AB58FA
secondary
#D6F1BC
accent
#E60070
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C18
muted
#827D86

Preview Lab

Preview with #AB58FA

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

Preview Lab → · Contrast checker → · Palette generator →

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