#AB3FC8#AB3FC8

#AB3FC8 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.5% C 0.215 H 318.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AB3FC8
RGBrgb(171, 63, 200)
HSLhsl(287, 55%, 52%)
HSVhsv(287, 69%, 78%)
CMYKcmyk(14.5%, 68.5%, 0%, 21.6%)
CIE-LABlab(47.47, 62.99, -51.06)
CIE-LCHlch(47.47, 81.09, 320.98°)
OKLaboklab(57.47% 0.1608 -0.1432)
OKLCHoklch(57.47% 0.215 318.3)
XYZxyz(28.9960, 16.3844, 56.2675)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FC8 #5CC83F
analogous
#673FC8 #AB3FC8 #C83FA1
triadic
#AB3FC8 #C8AB3F #3FC8AB
tetradic
#AB3FC8 #C8673F #5CC83F #3FA1C8
square
#AB3FC8 #C8673F #5CC83F #3FA1C8
split-complementary
#AB3FC8 #A1C83F #3FC867
monochromatic
#5D1F6D #852D9D #AB3FC8 #C06FD6 #D59EE3

Accessibility & contrast

On white

4.91
#AB3FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AB3FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FC8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FC8#FFFFFF#000000##FFFFFF
##AB3FC81.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#4674C5
Tritanopia (blue-blind)
#AA597F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab3fc8;
/* rgb */ color: rgb(171, 63, 200);
/* oklch */ color: oklch(57.5% 0.215 318.3);
Tailwind
colors: {
  custom: {
    50: '#c87dd9',
    500: '#ab3fc8',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fc8;
$custom-light: #c87dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fc8",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 287.299,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57471,
    "c": 0.21529,
    "h": 318.3
  },
  "luminance": 0.16383
}

Semantic roles & 50–950 ramp

primary
#AB3FC8
secondary
#A0D093
accent
#DF4969
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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