#AB4EBF#AB4EBF

#AB4EBF is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.7% C 0.187 H 320.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AB4EBF
RGBrgb(171, 78, 191)
HSLhsl(289, 47%, 53%)
HSVhsv(289, 59%, 75%)
CMYKcmyk(10.5%, 59.2%, 0%, 25.1%)
CIE-LABlab(49.34, 54.68, -42.88)
CIE-LCHlch(49.34, 69.49, 321.89°)
OKLaboklab(58.65% 0.1434 -0.1194)
OKLCHoklch(58.65% 0.187 320.2)
XYZxyz(28.9218, 17.8696, 51.2058)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4EBF #62BF4E
analogous
#734EBF #AB4EBF #BF4E9A
triadic
#AB4EBF #BFAB4E #4EBFAB
tetradic
#AB4EBF #BF734E #62BF4E #4E9ABF
square
#AB4EBF #BF734E #62BF4E #4E9ABF
split-complementary
#AB4EBF #9ABF4E #4EBF73
monochromatic
#60276C #873799 #AB4EBF #C07BCF #D6A8E0

Accessibility & contrast

On white

4.59
#AB4EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#AB4EBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4EBF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4EBF#FFFFFF#000000##FFFFFF
##AB4EBF1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356FC3
Deuteranopia (green-blind)
#5779BC
Tritanopia (blue-blind)
#AC607F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab4ebf;
/* rgb */ color: rgb(171, 78, 191);
/* oklch */ color: oklch(58.7% 0.187 320.2);
Tailwind
colors: {
  custom: {
    50: '#c785d3',
    500: '#ab4ebf',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ebf;
$custom-light: #c785d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ebf",
  "rgb": {
    "r": 171,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 289.381,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58651,
    "c": 0.18657,
    "h": 320.2
  },
  "luminance": 0.17868
}

Semantic roles & 50–950 ramp

primary
#AB4EBF
secondary
#A5CD9C
accent
#D75169
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB4EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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