#AB4FBF#AB4FBF

#AB4FBF is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.8% C 0.185 H 320.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AB4FBF
RGBrgb(171, 79, 191)
HSLhsl(289, 47%, 53%)
HSVhsv(289, 59%, 75%)
CMYKcmyk(10.5%, 58.6%, 0%, 25.1%)
CIE-LABlab(49.51, 54.20, -42.60)
CIE-LCHlch(49.51, 68.94, 321.83°)
OKLaboklab(58.78% 0.1421 -0.1186)
OKLCHoklch(58.78% 0.185 320.2)
XYZxyz(28.9934, 18.0128, 51.2297)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FBF #63BF4F
analogous
#734FBF #AB4FBF #BF4F9B
triadic
#AB4FBF #BFAB4F #4FBFAB
tetradic
#AB4FBF #BF734F #63BF4F #4F9BBF
square
#AB4FBF #BF734F #63BF4F #4F9BBF
split-complementary
#AB4FBF #9BBF4F #4FBF73
monochromatic
#60276C #883899 #AB4FBF #C07CCF #D6A9E0

Accessibility & contrast

On white

4.56
#AB4FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AB4FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FBF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FBF#FFFFFF#000000##000000
##AB4FBF1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#376FC3
Deuteranopia (green-blind)
#5879BC
Tritanopia (blue-blind)
#AC6080
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4fbf;
/* rgb */ color: rgb(171, 79, 191);
/* oklch */ color: oklch(58.8% 0.185 320.2);
Tailwind
colors: {
  custom: {
    50: '#c785d3',
    500: '#ab4fbf',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fbf;
$custom-light: #c785d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fbf",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 289.286,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58778,
    "c": 0.18509,
    "h": 320.2
  },
  "luminance": 0.18011
}

Semantic roles & 50–950 ramp

primary
#AB4FBF
secondary
#A5CD9D
accent
#D65169
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB4FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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