#AB3FD9#AB3FD9

#AB3FD9 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.6% C 0.231 H 313.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AB3FD9
RGBrgb(171, 63, 217)
HSLhsl(282, 67%, 55%)
HSVhsv(282, 71%, 85%)
CMYKcmyk(21.2%, 71%, 0%, 14.9%)
CIE-LABlab(48.54, 66.33, -59.10)
CIE-LCHlch(48.54, 88.84, 318.30°)
OKLaboklab(58.57% 0.1594 -0.1667)
OKLCHoklch(58.57% 0.231 313.7)
XYZxyz(31.0943, 17.2237, 67.3187)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FD9 #6DD93F
analogous
#5E3FD9 #AB3FD9 #D93FBA
triadic
#AB3FD9 #D9AB3F #3FD9AB
tetradic
#AB3FD9 #D95E3F #6DD93F #3FBAD9
square
#AB3FD9 #D95E3F #6DD93F #3FBAD9
split-complementary
#AB3FD9 #BAD93F #3FD95E
monochromatic
#641A84 #8B24B7 #AB3FD9 #C172E3 #D8A5ED

Accessibility & contrast

On white

4.72
#AB3FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AB3FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FD9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FD9#FFFFFF#000000##FFFFFF
##AB3FD91.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#3476D6
Tritanopia (blue-blind)
#A66088
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab3fd9;
/* rgb */ color: rgb(171, 63, 217);
/* oklch */ color: oklch(58.6% 0.231 313.7);
Tailwind
colors: {
  custom: {
    50: '#c87de6',
    500: '#ab3fd9',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fd9;
$custom-light: #c87de6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fd9",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 282.078,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58572,
    "c": 0.23066,
    "h": 313.7
  },
  "luminance": 0.17223
}

Semantic roles & 50–950 ramp

primary
#AB3FD9
secondary
#ADDA9A
accent
#EA3E71
background
#FCF8FE
surface
#F9EFFC
border
#D2CAD5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB3FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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