#AB3FD8#AB3FD8

#AB3FD8 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.5% C 0.230 H 314.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AB3FD8
RGBrgb(171, 63, 216)
HSLhsl(282, 66%, 55%)
HSVhsv(282, 71%, 85%)
CMYKcmyk(20.8%, 70.8%, 0%, 15.3%)
CIE-LABlab(48.48, 66.13, -58.64)
CIE-LCHlch(48.48, 88.38, 318.44°)
OKLaboklab(58.51% 0.1595 -0.1654)
OKLCHoklch(58.51% 0.23 314)
XYZxyz(30.9646, 17.1718, 66.6358)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FD8 #6CD83F
analogous
#5F3FD8 #AB3FD8 #D83FB9
triadic
#AB3FD8 #D8AB3F #3FD8AB
tetradic
#AB3FD8 #D85F3F #6CD83F #3FB9D8
square
#AB3FD8 #D85F3F #6CD83F #3FB9D8
split-complementary
#AB3FD8 #B9D83F #3FD85F
monochromatic
#641A82 #8B25B5 #AB3FD8 #C172E2 #D8A5ED

Accessibility & contrast

On white

4.74
#AB3FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AB3FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FD8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FD8#FFFFFF#000000##FFFFFF
##AB3FD81.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#3576D5
Tritanopia (blue-blind)
#A75F88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab3fd8;
/* rgb */ color: rgb(171, 63, 216);
/* oklch */ color: oklch(58.5% 0.230 314.0);
Tailwind
colors: {
  custom: {
    50: '#c87de5',
    500: '#ab3fd8',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fd8;
$custom-light: #c87de5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fd8",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 216
  },
  "hsl": {
    "h": 282.353,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58505,
    "c": 0.22975,
    "h": 314
  },
  "luminance": 0.17171
}

Semantic roles & 50–950 ramp

primary
#AB3FD8
secondary
#ACDA99
accent
#E93F71
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB3FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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