#AB58F9#AB58F9

#AB58F9 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.5% C 0.231 H 304.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AB58F9
RGBrgb(171, 88, 249)
HSLhsl(271, 93%, 66%)
HSVhsv(271, 65%, 98%)
CMYKcmyk(31.3%, 64.7%, 0%, 2.4%)
CIE-LABlab(54.53, 62.32, -67.46)
CIE-LCHlch(54.53, 91.84, 312.73°)
OKLaboklab(63.52% 0.1302 -0.1914)
OKLCHoklch(63.52% 0.231 304.2)
XYZxyz(37.3793, 22.4771, 91.9734)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58F9 #A6F958
analogous
#5A58F9 #AB58F9 #F958F6
triadic
#AB58F9 #F9AB58 #58F9AB
tetradic
#AB58F9 #F95A58 #A6F958 #58F6F9
square
#AB58F9 #F95A58 #A6F958 #58F6F9
split-complementary
#AB58F9 #F6F958 #58F95A
monochromatic
#6E07CF #8D1DF7 #AB58F9 #C993FB #E6CEFD

Accessibility & contrast

On white

3.82
#AB58F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#AB58F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58F9
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58F9#FFFFFF#000000##000000
##AB58F91.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FE
Deuteranopia (green-blind)
#2482F5
Tritanopia (blue-blind)
#9C7BA1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab58f9;
/* rgb */ color: rgb(171, 88, 249);
/* oklch */ color: oklch(63.5% 0.231 304.2);
Tailwind
colors: {
  custom: {
    50: '#c98cfc',
    500: '#ab58f9',
    950: '#000000',
  },
}
SCSS
$custom: #ab58f9;
$custom-light: #c98cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58f9",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 249
  },
  "hsl": {
    "h": 270.932,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6352,
    "c": 0.23148,
    "h": 304.2
  },
  "luminance": 0.22477
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB58F9

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

Preview Lab → · Contrast checker → · Palette generator →

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