#AB3FB5#AB3FB5

#AB3FB5 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.3% C 0.199 H 324.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AB3FB5
RGBrgb(171, 63, 181)
HSLhsl(295, 48%, 48%)
HSVhsv(295, 65%, 71%)
CMYKcmyk(5.5%, 65.2%, 0%, 29%)
CIE-LABlab(46.38, 59.45, -41.75)
CIE-LCHlch(46.38, 72.64, 324.92°)
OKLaboklab(56.33% 0.1611 -0.116)
OKLCHoklch(56.33% 0.199 324.2)
XYZxyz(26.9119, 15.5507, 45.2912)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FB5 #49B53F
analogous
#703FB5 #AB3FB5 #B53F84
triadic
#AB3FB5 #B5AB3F #3FB5AB
tetradic
#AB3FB5 #B5703F #49B53F #3F84B5
square
#AB3FB5 #B5703F #49B53F #3F84B5
split-complementary
#AB3FB5 #84B53F #3FB570
monochromatic
#551F5A #802F88 #AB3FB5 #C267CA #D494DA

Accessibility & contrast

On white

5.11
#AB3FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#AB3FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FB5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FB5#FFFFFF#000000##FFFFFF
##AB3FB51.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2666B8
Deuteranopia (green-blind)
#5372B2
Tritanopia (blue-blind)
#AE5175
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab3fb5;
/* rgb */ color: rgb(171, 63, 181);
/* oklch */ color: oklch(56.3% 0.199 324.2);
Tailwind
colors: {
  custom: {
    50: '#c77ccc',
    500: '#ab3fb5',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fb5;
$custom-light: #c77ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fb5",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 294.915,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5633,
    "c": 0.19852,
    "h": 324.2
  },
  "luminance": 0.15549
}

Semantic roles & 50–950 ramp

primary
#AB3FB5
secondary
#8FC58A
accent
#D8505B
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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