#AB3FB4#AB3FB4

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

Color values

HEX#AB3FB4
RGBrgb(171, 63, 180)
HSLhsl(295, 48%, 48%)
HSVhsv(295, 65%, 71%)
CMYKcmyk(5%, 65%, 0%, 29.4%)
CIE-LABlab(46.32, 59.27, -41.25)
CIE-LCHlch(46.32, 72.21, 325.17°)
OKLaboklab(56.27% 0.1611 -0.1145)
OKLCHoklch(56.27% 0.198 324.6)
XYZxyz(26.8096, 15.5098, 44.7527)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FB4 #48B43F
analogous
#713FB4 #AB3FB4 #B43F82
triadic
#AB3FB4 #B4AB3F #3FB4AB
tetradic
#AB3FB4 #B4713F #48B43F #3F82B4
square
#AB3FB4 #B4713F #48B43F #3F82B4
split-complementary
#AB3FB4 #82B43F #3FB471
monochromatic
#551F59 #802F87 #AB3FB4 #C267CA #D494DA

Accessibility & contrast

On white

5.12
#AB3FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AB3FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FB4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FB4#FFFFFF#000000##FFFFFF
##AB3FB41.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2865B7
Deuteranopia (green-blind)
#5472B1
Tritanopia (blue-blind)
#AE5174
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab3fb4;
/* rgb */ color: rgb(171, 63, 180);
/* oklch */ color: oklch(56.3% 0.198 324.6);
Tailwind
colors: {
  custom: {
    50: '#c77ccb',
    500: '#ab3fb4',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fb4;
$custom-light: #c77ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fb4",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 180
  },
  "hsl": {
    "h": 295.385,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56273,
    "c": 0.19765,
    "h": 324.6
  },
  "luminance": 0.15508
}

Semantic roles & 50–950 ramp

primary
#AB3FB4
secondary
#8EC58A
accent
#D8505B
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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