#AB58DD#AB58DD

#AB58DD is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.7% C 0.202 H 310.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AB58DD
RGBrgb(171, 88, 221)
HSLhsl(277, 66%, 61%)
HSVhsv(277, 60%, 87%)
CMYKcmyk(22.6%, 60.2%, 0%, 13.3%)
CIE-LABlab(52.79, 56.07, -54.55)
CIE-LCHlch(52.79, 78.23, 315.79°)
OKLaboklab(61.71% 0.1316 -0.1535)
OKLCHoklch(61.71% 0.202 310.6)
XYZxyz(33.3330, 20.8585, 70.6627)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58DD #8ADD58
analogous
#6958DD #AB58DD #DD58CC
triadic
#AB58DD #DDAB58 #58DDAB
tetradic
#AB58DD #DD6958 #8ADD58 #58CCDD
square
#AB58DD #DD6958 #8ADD58 #58CCDD
split-complementary
#AB58DD #CCDD58 #58DD69
monochromatic
#6D209B #902ACE #AB58DD #C58BE7 #DEBEF2

Accessibility & contrast

On white

4.06
#AB58DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AB58DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58DD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58DD#FFFFFF#000000##000000
##AB58DD1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#237AE1
Deuteranopia (green-blind)
#4A7FDA
Tritanopia (blue-blind)
#A57192
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab58dd;
/* rgb */ color: rgb(171, 88, 221);
/* oklch */ color: oklch(61.7% 0.202 310.6);
Tailwind
colors: {
  custom: {
    50: '#c78be8',
    500: '#ab58dd',
    950: '#000000',
  },
}
SCSS
$custom: #ab58dd;
$custom-light: #c78be8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58dd",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 277.444,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61711,
    "c": 0.20218,
    "h": 310.6
  },
  "luminance": 0.20858
}

Semantic roles & 50–950 ramp

primary
#AB58DD
secondary
#C2E2AF
accent
#CE175C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB58DD

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

Preview Lab → · Contrast checker → · Palette generator →

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