#AB58D9#AB58D9

#AB58D9 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.5% C 0.198 H 311.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AB58D9
RGBrgb(171, 88, 217)
HSLhsl(279, 63%, 60%)
HSVhsv(279, 59%, 85%)
CMYKcmyk(21.2%, 59.4%, 0%, 14.9%)
CIE-LABlab(52.56, 55.21, -52.65)
CIE-LCHlch(52.56, 76.29, 316.36°)
OKLaboklab(61.47% 0.1316 -0.148)
OKLCHoklch(61.47% 0.198 311.6)
XYZxyz(32.8064, 20.6479, 67.8894)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58D9 #86D958
analogous
#6B58D9 #AB58D9 #D958C6
triadic
#AB58D9 #D9AB58 #58D9AB
tetradic
#AB58D9 #D96B58 #86D958 #58C6D9
square
#AB58D9 #D96B58 #86D958 #58C6D9
split-complementary
#AB58D9 #C6D958 #58D96B
monochromatic
#6C2295 #902DC7 #AB58D9 #C48AE4 #DDBCF0

Accessibility & contrast

On white

4.09
#AB58D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#AB58D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58D9
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58D9#FFFFFF#000000##000000
##AB58D91.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2979DD
Deuteranopia (green-blind)
#4E7FD6
Tritanopia (blue-blind)
#A67090
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab58d9;
/* rgb */ color: rgb(171, 88, 217);
/* oklch */ color: oklch(61.5% 0.198 311.6);
Tailwind
colors: {
  custom: {
    50: '#c78be5',
    500: '#ab58d9',
    950: '#000000',
  },
}
SCSS
$custom: #ab58d9;
$custom-light: #c78be5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58d9",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 217
  },
  "hsl": {
    "h": 278.605,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61467,
    "c": 0.198,
    "h": 311.6
  },
  "luminance": 0.20647
}

Semantic roles & 50–950 ramp

primary
#AB58D9
secondary
#BFDFAD
accent
#E6427C
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB58D9

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

Preview Lab → · Contrast checker → · Palette generator →

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