#AB3FC4#AB3FC4

#AB3FC4 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.2% C 0.212 H 319.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AB3FC4
RGBrgb(171, 63, 196)
HSLhsl(289, 53%, 51%)
HSVhsv(289, 68%, 77%)
CMYKcmyk(12.8%, 67.9%, 0%, 23.1%)
CIE-LABlab(47.24, 62.23, -49.12)
CIE-LCHlch(47.24, 79.28, 321.71°)
OKLaboklab(57.22% 0.161 -0.1375)
OKLCHoklch(57.22% 0.212 319.5)
XYZxyz(28.5346, 16.1998, 53.8377)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FC4 #58C43F
analogous
#683FC4 #AB3FC4 #C43F9A
triadic
#AB3FC4 #C4AB3F #3FC4AB
tetradic
#AB3FC4 #C4683F #58C43F #3F9AC4
square
#AB3FC4 #C4683F #58C43F #3F9AC4
split-complementary
#AB3FC4 #9AC43F #3FC468
monochromatic
#5B2068 #842E97 #AB3FC4 #BF6ED2 #D49DE1

Accessibility & contrast

On white

4.95
#AB3FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AB3FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FC4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FC4#FFFFFF#000000##FFFFFF
##AB3FC41.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0469C8
Deuteranopia (green-blind)
#4974C1
Tritanopia (blue-blind)
#AB577D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3fc4;
/* rgb */ color: rgb(171, 63, 196);
/* oklch */ color: oklch(57.2% 0.212 319.5);
Tailwind
colors: {
  custom: {
    50: '#c87dd6',
    500: '#ab3fc4',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fc4;
$custom-light: #c87dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fc4",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 288.722,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57222,
    "c": 0.21172,
    "h": 319.5
  },
  "luminance": 0.16198
}

Semantic roles & 50–950 ramp

primary
#AB3FC4
secondary
#9DCD92
accent
#DC4B67
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB3FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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