#AB5FD5#AB5FD5

#AB5FD5 is a light, vivid violet. Relative luminance 0.216; OKLCH L 62.2% C 0.183 H 312.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AB5FD5
RGBrgb(171, 95, 213)
HSLhsl(279, 58%, 60%)
HSVhsv(279, 55%, 84%)
CMYKcmyk(19.7%, 55.4%, 0%, 16.5%)
CIE-LABlab(53.65, 50.83, -48.65)
CIE-LCHlch(53.65, 70.36, 316.26°)
OKLaboklab(62.19% 0.1226 -0.1363)
OKLCHoklch(62.19% 0.183 312)
XYZxyz(32.8949, 21.6472, 65.3834)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FD5 #89D55F
analogous
#705FD5 #AB5FD5 #D55FC4
triadic
#AB5FD5 #D5AB5F #5FD5AB
tetradic
#AB5FD5 #D5705F #89D55F #5FC4D5
square
#AB5FD5 #D5705F #89D55F #5FC4D5
split-complementary
#AB5FD5 #C4D55F #5FD570
monochromatic
#6C2793 #9033C3 #AB5FD5 #C48FE2 #DEC0EE

Accessibility & contrast

On white

3.94
#AB5FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#AB5FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FD5
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FD5#FFFFFF#000000##000000
##AB5FD51.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7CD9
Deuteranopia (green-blind)
#5782D2
Tritanopia (blue-blind)
#A67391
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5fd5;
/* rgb */ color: rgb(171, 95, 213);
/* oklch */ color: oklch(62.2% 0.183 312.0);
Tailwind
colors: {
  custom: {
    50: '#c78fe2',
    500: '#ab5fd5',
    950: '#000000',
  },
}
SCSS
$custom: #ab5fd5;
$custom-light: #c78fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5fd5",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 278.644,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62191,
    "c": 0.18333,
    "h": 312
  },
  "luminance": 0.21646
}

Semantic roles & 50–950 ramp

primary
#AB5FD5
secondary
#C1DEB1
accent
#C61F5B
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AB5FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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