#AB3FD5#AB3FD5

#AB3FD5 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.227 H 314.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AB3FD5
RGBrgb(171, 63, 213)
HSLhsl(283, 64%, 54%)
HSVhsv(283, 70%, 84%)
CMYKcmyk(19.7%, 70.4%, 0%, 16.5%)
CIE-LABlab(48.28, 65.53, -57.23)
CIE-LCHlch(48.28, 87.01, 318.87°)
OKLaboklab(58.31% 0.1598 -0.1613)
OKLCHoklch(58.31% 0.227 314.7)
XYZxyz(30.5804, 17.0181, 64.6118)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FD5 #69D53F
analogous
#603FD5 #AB3FD5 #D53FB4
triadic
#AB3FD5 #D5AB3F #3FD5AB
tetradic
#AB3FD5 #D5603F #69D53F #3FB4D5
square
#AB3FD5 #D5603F #69D53F #3FB4D5
split-complementary
#AB3FD5 #B4D53F #3FD560
monochromatic
#621C7E #8A27B0 #AB3FD5 #C171E0 #D7A3EB

Accessibility & contrast

On white

4.77
#AB3FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AB3FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FD5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FD5#FFFFFF#000000##FFFFFF
##AB3FD51.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#3975D2
Tritanopia (blue-blind)
#A75E86
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab3fd5;
/* rgb */ color: rgb(171, 63, 213);
/* oklch */ color: oklch(58.3% 0.227 314.7);
Tailwind
colors: {
  custom: {
    50: '#c87de3',
    500: '#ab3fd5',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fd5;
$custom-light: #c87de3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fd5",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 213
  },
  "hsl": {
    "h": 283.2,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58306,
    "c": 0.22702,
    "h": 314.7
  },
  "luminance": 0.17017
}

Semantic roles & 50–950 ramp

primary
#AB3FD5
secondary
#AAD898
accent
#E7416F
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140A15
muted
#827C84

Preview Lab

Preview with #AB3FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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