#AB3FC2#AB3FC2

#AB3FC2 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.210 H 320.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AB3FC2
RGBrgb(171, 63, 194)
HSLhsl(289, 52%, 50%)
HSVhsv(289, 68%, 76%)
CMYKcmyk(11.9%, 67.5%, 0%, 23.9%)
CIE-LABlab(47.12, 61.85, -48.15)
CIE-LCHlch(47.12, 78.39, 322.10°)
OKLaboklab(57.1% 0.1611 -0.1347)
OKLCHoklch(57.1% 0.21 320.1)
XYZxyz(28.3085, 16.1094, 52.6468)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FC2 #56C23F
analogous
#6A3FC2 #AB3FC2 #C23F97
triadic
#AB3FC2 #C2AB3F #3FC2AB
tetradic
#AB3FC2 #C26A3F #56C23F #3F97C2
square
#AB3FC2 #C26A3F #56C23F #3F97C2
split-complementary
#AB3FC2 #97C23F #3FC26A
monochromatic
#5A2066 #832F95 #AB3FC2 #BF6DD1 #D49CE0

Accessibility & contrast

On white

4.97
#AB3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AB3FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FC2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FC2#FFFFFF#000000##FFFFFF
##AB3FC21.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C68C6
Deuteranopia (green-blind)
#4A74BF
Tritanopia (blue-blind)
#AC567C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3fc2;
/* rgb */ color: rgb(171, 63, 194);
/* oklch */ color: oklch(57.1% 0.210 320.1);
Tailwind
colors: {
  custom: {
    50: '#c87dd5',
    500: '#ab3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fc2;
$custom-light: #c87dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fc2",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 289.466,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.571,
    "c": 0.20994,
    "h": 320.1
  },
  "luminance": 0.16108
}

Semantic roles & 50–950 ramp

primary
#AB3FC2
secondary
#9BCC91
accent
#DB4D66
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #AB3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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