#AB3FB8#AB3FB8

#AB3FB8 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.5% C 0.201 H 323.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AB3FB8
RGBrgb(171, 63, 184)
HSLhsl(294, 49%, 48%)
HSVhsv(294, 66%, 72%)
CMYKcmyk(7.1%, 65.8%, 0%, 27.8%)
CIE-LABlab(46.55, 59.99, -43.24)
CIE-LCHlch(46.55, 73.95, 324.22°)
OKLaboklab(56.5% 0.1612 -0.1203)
OKLCHoklch(56.5% 0.201 323.3)
XYZxyz(27.2230, 15.6752, 46.9298)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FB8 #4CB83F
analogous
#6E3FB8 #AB3FB8 #B83F88
triadic
#AB3FB8 #B8AB3F #3FB8AB
tetradic
#AB3FB8 #B86E3F #4CB83F #3F88B8
square
#AB3FB8 #B86E3F #4CB83F #3F88B8
split-complementary
#AB3FB8 #88B83F #3FB86E
monochromatic
#56205D #812F8A #AB3FB8 #C169CC #D496DB

Accessibility & contrast

On white

5.08
#AB3FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AB3FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FB8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FB8#FFFFFF#000000##FFFFFF
##AB3FB81.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2266BC
Deuteranopia (green-blind)
#5173B5
Tritanopia (blue-blind)
#AE5276
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab3fb8;
/* rgb */ color: rgb(171, 63, 184);
/* oklch */ color: oklch(56.5% 0.201 323.3);
Tailwind
colors: {
  custom: {
    50: '#c77cce',
    500: '#ab3fb8',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fb8;
$custom-light: #c77cce;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fb8",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 293.554,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56504,
    "c": 0.20113,
    "h": 323.3
  },
  "luminance": 0.15674
}

Semantic roles & 50–950 ramp

primary
#AB3FB8
secondary
#92C78C
accent
#D94F5E
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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