#AB3FD1#AB3FD1

#AB3FD1 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.0% C 0.223 H 315.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AB3FD1
RGBrgb(171, 63, 209)
HSLhsl(284, 61%, 53%)
HSVhsv(284, 70%, 82%)
CMYKcmyk(18.2%, 69.9%, 0%, 18%)
CIE-LABlab(48.03, 64.74, -55.35)
CIE-LCHlch(48.03, 85.18, 319.47°)
OKLaboklab(58.04% 0.1602 -0.1557)
OKLCHoklch(58.04% 0.223 315.8)
XYZxyz(30.0789, 16.8175, 61.9709)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FD1 #65D13F
analogous
#623FD1 #AB3FD1 #D13FAE
triadic
#AB3FD1 #D1AB3F #3FD1AB
tetradic
#AB3FD1 #D1623F #65D13F #3FAED1
square
#AB3FD1 #D1623F #65D13F #3FAED1
split-complementary
#AB3FD1 #AED13F #3FD162
monochromatic
#611D79 #8829AA #AB3FD1 #C170DD #D6A2E9

Accessibility & contrast

On white

4.81
#AB3FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AB3FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FD1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FD1#FFFFFF#000000##FFFFFF
##AB3FD11.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#3D75CE
Tritanopia (blue-blind)
#A85D84
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab3fd1;
/* rgb */ color: rgb(171, 63, 209);
/* oklch */ color: oklch(58.0% 0.223 315.8);
Tailwind
colors: {
  custom: {
    50: '#c87de0',
    500: '#ab3fd1',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fd1;
$custom-light: #c87de0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fd1",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 209
  },
  "hsl": {
    "h": 284.384,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58044,
    "c": 0.22339,
    "h": 315.8
  },
  "luminance": 0.16816
}

Semantic roles & 50–950 ramp

primary
#AB3FD1
secondary
#A7D597
accent
#E4436D
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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