#AB3FB1#AB3FB1

#AB3FB1 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.1% C 0.195 H 325.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AB3FB1
RGBrgb(171, 63, 177)
HSLhsl(297, 48%, 47%)
HSVhsv(297, 64%, 69%)
CMYKcmyk(3.4%, 64.4%, 0%, 30.6%)
CIE-LABlab(46.16, 58.73, -39.74)
CIE-LCHlch(46.16, 70.91, 325.92°)
OKLaboklab(56.1% 0.161 -0.1102)
OKLCHoklch(56.1% 0.195 325.6)
XYZxyz(26.5073, 15.3889, 43.1606)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FB1 #45B13F
analogous
#723FB1 #AB3FB1 #B13F7E
triadic
#AB3FB1 #B1AB3F #3FB1AB
tetradic
#AB3FB1 #B1723F #45B13F #3F7EB1
square
#AB3FB1 #B1723F #45B13F #3F7EB1
split-complementary
#AB3FB1 #7EB13F #3FB172
monochromatic
#541F57 #7F2F84 #AB3FB1 #C365C8 #D592D8

Accessibility & contrast

On white

5.15
#AB3FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AB3FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FB1
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FB1#FFFFFF#000000##FFFFFF
##AB3FB11.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B65B4
Deuteranopia (green-blind)
#5672AE
Tritanopia (blue-blind)
#AF5073
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3fb1;
/* rgb */ color: rgb(171, 63, 177);
/* oklch */ color: oklch(56.1% 0.195 325.6);
Tailwind
colors: {
  custom: {
    50: '#c77cc9',
    500: '#ab3fb1',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fb1;
$custom-light: #c77cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fb1",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 177
  },
  "hsl": {
    "h": 296.842,
    "s": 47.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56103,
    "c": 0.19507,
    "h": 325.6
  },
  "luminance": 0.15387
}

Semantic roles & 50–950 ramp

primary
#AB3FB1
secondary
#8BC488
accent
#D75158
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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