#AB58DA#AB58DA

#AB58DA is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.5% C 0.199 H 311.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AB58DA
RGBrgb(171, 88, 218)
HSLhsl(278, 64%, 60%)
HSVhsv(278, 60%, 85%)
CMYKcmyk(21.6%, 59.6%, 0%, 14.5%)
CIE-LABlab(52.62, 55.42, -53.13)
CIE-LCHlch(52.62, 76.77, 316.21°)
OKLaboklab(61.53% 0.1316 -0.1494)
OKLCHoklch(61.53% 0.199 311.4)
XYZxyz(32.9369, 20.7001, 68.5765)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58DA #87DA58
analogous
#6A58DA #AB58DA #DA58C8
triadic
#AB58DA #DAAB58 #58DAAB
tetradic
#AB58DA #DA6A58 #87DA58 #58C8DA
square
#AB58DA #DA6A58 #87DA58 #58C8DA
split-complementary
#AB58DA #C8DA58 #58DA6A
monochromatic
#6C2196 #902CC8 #AB58DA #C48AE5 #DDBCF0

Accessibility & contrast

On white

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

On black

5.14
#AB58DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58DA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58DA#FFFFFF#000000##000000
##AB58DA1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#287ADE
Deuteranopia (green-blind)
#4D7FD7
Tritanopia (blue-blind)
#A57091
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ab58da;
/* rgb */ color: rgb(171, 88, 218);
/* oklch */ color: oklch(61.5% 0.199 311.4);
Tailwind
colors: {
  custom: {
    50: '#c78be6',
    500: '#ab58da',
    950: '#000000',
  },
}
SCSS
$custom: #ab58da;
$custom-light: #c78be6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58da",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 218
  },
  "hsl": {
    "h": 278.308,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.61528,
    "c": 0.19905,
    "h": 311.4
  },
  "luminance": 0.20699
}

Semantic roles & 50–950 ramp

primary
#AB58DA
secondary
#C0E0AE
accent
#E7417D
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB58DA

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

Preview Lab → · Contrast checker → · Palette generator →

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