#AB4FC8#AB4FC8

#AB4FC8 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.3% C 0.194 H 317.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AB4FC8
RGBrgb(171, 79, 200)
HSLhsl(286, 52%, 55%)
HSVhsv(286, 61%, 78%)
CMYKcmyk(14.5%, 60.5%, 0%, 21.6%)
CIE-LABlab(50.00, 55.99, -47.02)
CIE-LCHlch(50.00, 73.11, 319.98°)
OKLaboklab(59.29% 0.1424 -0.1315)
OKLCHoklch(59.29% 0.194 317.3)
XYZxyz(30.0144, 18.4212, 56.6070)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FC8 #6CC84F
analogous
#6F4FC8 #AB4FC8 #C84FA8
triadic
#AB4FC8 #C8AB4F #4FC8AB
tetradic
#AB4FC8 #C86F4F #6CC84F #4FA8C8
square
#AB4FC8 #C86F4F #6CC84F #4FA8C8
split-complementary
#AB4FC8 #A8C84F #4FC86F
monochromatic
#642577 #8B34A6 #AB4FC8 #C17ED7 #D8ACE5

Accessibility & contrast

On white

4.48
#AB4FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#AB4FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FC8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FC8#FFFFFF#000000##000000
##AB4FC81.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D71CC
Deuteranopia (green-blind)
#527AC5
Tritanopia (blue-blind)
#AA6384
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab4fc8;
/* rgb */ color: rgb(171, 79, 200);
/* oklch */ color: oklch(59.3% 0.194 317.3);
Tailwind
colors: {
  custom: {
    50: '#c785d9',
    500: '#ab4fc8',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fc8;
$custom-light: #c785d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fc8",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 285.62,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59295,
    "c": 0.19383,
    "h": 317.3
  },
  "luminance": 0.1842
}

Semantic roles & 50–950 ramp

primary
#AB4FC8
secondary
#ACD3A0
accent
#DC4C6E
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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