#AB58CF#AB58CF

#AB58CF is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.9% C 0.188 H 314.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AB58CF
RGBrgb(171, 88, 207)
HSLhsl(282, 55%, 58%)
HSVhsv(282, 57%, 81%)
CMYKcmyk(17.4%, 57.5%, 0%, 18.8%)
CIE-LABlab(52.00, 53.08, -47.86)
CIE-LCHlch(52.00, 71.47, 317.96°)
OKLaboklab(60.88% 0.1313 -0.134)
OKLCHoklch(60.88% 0.188 314.4)
XYZxyz(31.5450, 20.1433, 61.2457)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58CF #7CCF58
analogous
#6F58CF #AB58CF #CF58B7
triadic
#AB58CF #CFAB58 #58CFAB
tetradic
#AB58CF #CF6F58 #7CCF58 #58B7CF
square
#AB58CF #CF6F58 #7CCF58 #58B7CF
split-complementary
#AB58CF #B7CF58 #58CF6F
monochromatic
#692786 #8E34B6 #AB58CF #C388DD #DBB7EA

Accessibility & contrast

On white

4.18
#AB58CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#AB58CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58CF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58CF#FFFFFF#000000##000000
##AB58CF1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3677D3
Deuteranopia (green-blind)
#557ECC
Tritanopia (blue-blind)
#A86C8B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ab58cf;
/* rgb */ color: rgb(171, 88, 207);
/* oklch */ color: oklch(60.9% 0.188 314.4);
Tailwind
colors: {
  custom: {
    50: '#c78bde',
    500: '#ab58cf',
    950: '#000000',
  },
}
SCSS
$custom: #ab58cf;
$custom-light: #c78bde;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58cf",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 281.849,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60875,
    "c": 0.1876,
    "h": 314.4
  },
  "luminance": 0.20142
}

Semantic roles & 50–950 ramp

primary
#AB58CF
secondary
#B8D9AA
accent
#DF4976
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AB58CF

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

Preview Lab → · Contrast checker → · Palette generator →

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