#AB5EC0#AB5EC0

#AB5EC0 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.9% C 0.163 H 318.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AB5EC0
RGBrgb(171, 94, 192)
HSLhsl(287, 44%, 56%)
HSVhsv(287, 51%, 75%)
CMYKcmyk(10.9%, 51%, 0%, 24.7%)
CIE-LABlab(52.36, 46.93, -38.67)
CIE-LCHlch(52.36, 60.81, 320.51°)
OKLaboklab(60.89% 0.1221 -0.1073)
OKLCHoklch(60.89% 0.163 318.7)
XYZxyz(30.3105, 20.4702, 52.2135)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EC0 #73C05E
analogous
#7A5EC0 #AB5EC0 #C05EA4
triadic
#AB5EC0 #C0AB5E #5EC0AB
tetradic
#AB5EC0 #C07A5E #73C05E #5EA4C0
square
#AB5EC0 #C07A5E #73C05E #5EA4C0
split-complementary
#AB5EC0 #A4C05E #5EC07A
monochromatic
#662E76 #8C3FA2 #AB5EC0 #C28AD1 #D9B6E2

Accessibility & contrast

On white

4.12
#AB5EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#AB5EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EC0
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EC0#FFFFFF#000000##000000
##AB5EC01.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C78C3
Deuteranopia (green-blind)
#6380BD
Tritanopia (blue-blind)
#AB6C86
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab5ec0;
/* rgb */ color: rgb(171, 94, 192);
/* oklch */ color: oklch(60.9% 0.163 318.7);
Tailwind
colors: {
  custom: {
    50: '#c68ed3',
    500: '#ab5ec0',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ec0;
$custom-light: #c68ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ec0",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 287.143,
    "s": 43.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6089,
    "c": 0.16258,
    "h": 318.7
  },
  "luminance": 0.20469
}

Semantic roles & 50–950 ramp

primary
#AB5EC0
secondary
#B1D1A9
accent
#D35470
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AB5EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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