#AB3DD9#AB3DD9

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

Color values

HEX#AB3DD9
RGBrgb(171, 61, 217)
HSLhsl(282, 67%, 55%)
HSVhsv(282, 72%, 85%)
CMYKcmyk(21.2%, 71.9%, 0%, 14.9%)
CIE-LABlab(48.27, 67.10, -59.54)
CIE-LCHlch(48.27, 89.71, 318.42°)
OKLaboklab(58.38% 0.1613 -0.168)
OKLCHoklch(58.38% 0.233 313.8)
XYZxyz(30.9856, 17.0062, 67.2825)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DD9 #6BD93D
analogous
#5D3DD9 #AB3DD9 #D93DB9
triadic
#AB3DD9 #D9AB3D #3DD9AB
tetradic
#AB3DD9 #D95D3D #6BD93D #3DB9D9
square
#AB3DD9 #D95D3D #6BD93D #3DB9D9
split-complementary
#AB3DD9 #B9D93D #3DD95D
monochromatic
#631982 #8A24B5 #AB3DD9 #C170E3 #D7A3ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3DD9#FFFFFF#000000##FFFFFF
##AB3DD91.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)
#006DDD
Deuteranopia (green-blind)
#3275D6
Tritanopia (blue-blind)
#A65F88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab3dd9;
/* rgb */ color: rgb(171, 61, 217);
/* oklch */ color: oklch(58.4% 0.233 313.8);
Tailwind
colors: {
  custom: {
    50: '#c87ce6',
    500: '#ab3dd9',
    950: '#000000',
  },
}
SCSS
$custom: #ab3dd9;
$custom-light: #c87ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3dd9",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 217
  },
  "hsl": {
    "h": 282.308,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58378,
    "c": 0.23292,
    "h": 313.8
  },
  "luminance": 0.17005
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB3DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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