#AB58D7#AB58D7

#AB58D7 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 61.3% C 0.196 H 312.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AB58D7
RGBrgb(171, 88, 215)
HSLhsl(279, 61%, 59%)
HSVhsv(279, 59%, 84%)
CMYKcmyk(20.5%, 59.1%, 0%, 15.7%)
CIE-LABlab(52.45, 54.78, -51.70)
CIE-LCHlch(52.45, 75.32, 316.66°)
OKLaboklab(61.35% 0.1316 -0.1452)
OKLCHoklch(61.35% 0.196 312.2)
XYZxyz(32.5479, 20.5445, 66.5277)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB58D7 #84D758
analogous
#6C58D7 #AB58D7 #D758C3
triadic
#AB58D7 #D7AB58 #58D7AB
tetradic
#AB58D7 #D76C58 #84D758 #58C3D7
square
#AB58D7 #D76C58 #84D758 #58C3D7
split-complementary
#AB58D7 #C3D758 #58D76C
monochromatic
#6B2392 #902FC3 #AB58D7 #C489E3 #DDBBEF

Accessibility & contrast

On white

4.11
#AB58D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#AB58D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB58D7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB58D7#FFFFFF#000000##000000
##AB58D71.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C79DB
Deuteranopia (green-blind)
#4F7FD4
Tritanopia (blue-blind)
#A66F8F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab58d7;
/* rgb */ color: rgb(171, 88, 215);
/* oklch */ color: oklch(61.3% 0.196 312.2);
Tailwind
colors: {
  custom: {
    50: '#c78be4',
    500: '#ab58d7',
    950: '#000000',
  },
}
SCSS
$custom: #ab58d7;
$custom-light: #c78be4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab58d7",
  "rgb": {
    "r": 171,
    "g": 88,
    "b": 215
  },
  "hsl": {
    "h": 279.213,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61347,
    "c": 0.19592,
    "h": 312.2
  },
  "luminance": 0.20544
}

Semantic roles & 50–950 ramp

primary
#AB58D7
secondary
#BEDEAD
accent
#E4437B
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB58D7

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

Preview Lab → · Contrast checker → · Palette generator →

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