#AB3FD2#AB3FD2

#AB3FD2 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.1% C 0.224 H 315.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AB3FD2
RGBrgb(171, 63, 210)
HSLhsl(284, 62%, 54%)
HSVhsv(284, 70%, 82%)
CMYKcmyk(18.6%, 70%, 0%, 17.6%)
CIE-LABlab(48.09, 64.94, -55.82)
CIE-LCHlch(48.09, 85.63, 319.32°)
OKLaboklab(58.11% 0.1601 -0.1571)
OKLCHoklch(58.11% 0.224 315.5)
XYZxyz(30.2031, 16.8672, 62.6250)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FD2 #66D23F
analogous
#613FD2 #AB3FD2 #D23FAF
triadic
#AB3FD2 #D2AB3F #3FD2AB
tetradic
#AB3FD2 #D2613F #66D23F #3FAFD2
square
#AB3FD2 #D2613F #66D23F #3FAFD2
split-complementary
#AB3FD2 #AFD23F #3FD261
monochromatic
#611D7A #8928AC #AB3FD2 #C171DE #D6A2E9

Accessibility & contrast

On white

4.80
#AB3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AB3FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FD2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FD2#FFFFFF#000000##FFFFFF
##AB3FD21.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab3fd2;
/* rgb */ color: rgb(171, 63, 210);
/* oklch */ color: oklch(58.1% 0.224 315.5);
Tailwind
colors: {
  custom: {
    50: '#c87de0',
    500: '#ab3fd2',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fd2;
$custom-light: #c87de0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fd2",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 284.082,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58109,
    "c": 0.2243,
    "h": 315.5
  },
  "luminance": 0.16866
}

Semantic roles & 50–950 ramp

primary
#AB3FD2
secondary
#A8D697
accent
#E5436E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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