#AB3FC7#AB3FC7

#AB3FC7 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.4% C 0.214 H 318.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AB3FC7
RGBrgb(171, 63, 199)
HSLhsl(288, 55%, 51%)
HSVhsv(288, 68%, 78%)
CMYKcmyk(14.1%, 68.3%, 0%, 22%)
CIE-LABlab(47.41, 62.80, -50.57)
CIE-LCHlch(47.41, 80.63, 321.16°)
OKLaboklab(57.41% 0.1609 -0.1417)
OKLCHoklch(57.41% 0.214 318.6)
XYZxyz(28.8795, 16.3378, 55.6540)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FC7 #5BC73F
analogous
#673FC7 #AB3FC7 #C73F9F
triadic
#AB3FC7 #C7AB3F #3FC7AB
tetradic
#AB3FC7 #C7673F #5BC73F #3F9FC7
square
#AB3FC7 #C7673F #5BC73F #3F9FC7
split-complementary
#AB3FC7 #9FC73F #3FC767
monochromatic
#5C206C #852D9B #AB3FC7 #C06ED5 #D49EE3

Accessibility & contrast

On white

4.92
#AB3FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AB3FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FC7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FC7#FFFFFF#000000##FFFFFF
##AB3FC71.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#4774C4
Tritanopia (blue-blind)
#AB587E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3fc7;
/* rgb */ color: rgb(171, 63, 199);
/* oklch */ color: oklch(57.4% 0.214 318.6);
Tailwind
colors: {
  custom: {
    50: '#c87dd9',
    500: '#ab3fc7',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fc7;
$custom-light: #c87dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fc7",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 287.647,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57408,
    "c": 0.2144,
    "h": 318.6
  },
  "luminance": 0.16336
}

Semantic roles & 50–950 ramp

primary
#AB3FC7
secondary
#9FCF93
accent
#DE4A68
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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