#AB58DE#AB58DE

#AB58DE is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.8% C 0.203 H 310.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AB58DE
RGBrgb(171, 88, 222)
HSLhsl(277, 67%, 61%)
HSVhsv(277, 60%, 87%)
CMYKcmyk(23%, 60.4%, 0%, 12.9%)
CIE-LABlab(52.85, 56.29, -55.02)
CIE-LCHlch(52.85, 78.71, 315.65°)
OKLaboklab(61.77% 0.1316 -0.1549)
OKLCHoklch(61.77% 0.203 310.3)
XYZxyz(33.4666, 20.9120, 71.3665)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58DE #8BDE58
analogous
#6858DE #AB58DE #DE58CE
triadic
#AB58DE #DEAB58 #58DEAB
tetradic
#AB58DE #DE6858 #8BDE58 #58CEDE
square
#AB58DE #DE6858 #8BDE58 #58CEDE
split-complementary
#AB58DE #CEDE58 #58DE68
monochromatic
#6D1F9D #9029D0 #AB58DE #C58BE8 #DEBEF2

Accessibility & contrast

On white

4.05
#AB58DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#AB58DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58DE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58DE#FFFFFF#000000##000000
##AB58DE1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#217AE2
Deuteranopia (green-blind)
#4980DB
Tritanopia (blue-blind)
#A47293
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab58de;
/* rgb */ color: rgb(171, 88, 222);
/* oklch */ color: oklch(61.8% 0.203 310.3);
Tailwind
colors: {
  custom: {
    50: '#c78be9',
    500: '#ab58de',
    950: '#000000',
  },
}
SCSS
$custom: #ab58de;
$custom-light: #c78be9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58de",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 277.164,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61773,
    "c": 0.20322,
    "h": 310.3
  },
  "luminance": 0.20911
}

Semantic roles & 50–950 ramp

primary
#AB58DE
secondary
#C3E2B0
accent
#CF175D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB58DE

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

Preview Lab → · Contrast checker → · Palette generator →

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