#AB3DC3#AB3DC3

#AB3DC3 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.213 H 319.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AB3DC3
RGBrgb(171, 61, 195)
HSLhsl(289, 53%, 50%)
HSVhsv(289, 69%, 76%)
CMYKcmyk(12.3%, 68.7%, 0%, 23.5%)
CIE-LABlab(46.89, 62.84, -49.09)
CIE-LCHlch(46.89, 79.74, 322.00°)
OKLaboklab(56.96% 0.1631 -0.1374)
OKLCHoklch(56.96% 0.213 319.9)
XYZxyz(28.3124, 15.9369, 53.2040)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DC3 #55C33D
analogous
#683DC3 #AB3DC3 #C33D98
triadic
#AB3DC3 #C3AB3D #3DC3AB
tetradic
#AB3DC3 #C3683D #55C33D #3D98C3
square
#AB3DC3 #C3683D #55C33D #3D98C3
split-complementary
#AB3DC3 #98C33D #3DC368
monochromatic
#592066 #822E95 #AB3DC3 #BF6CD1 #D39AE0

Accessibility & contrast

On white

5.02
#AB3DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AB3DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3DC3
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DC3#FFFFFF#000000##FFFFFF
##AB3DC31.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C7
Deuteranopia (green-blind)
#4873C0
Tritanopia (blue-blind)
#AC567C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab3dc3;
/* rgb */ color: rgb(171, 61, 195);
/* oklch */ color: oklch(57.0% 0.213 319.9);
Tailwind
colors: {
  custom: {
    50: '#c87cd6',
    500: '#ab3dc3',
    950: '#000000',
  },
}
SCSS
$custom: #ab3dc3;
$custom-light: #c87cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3dc3",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 195
  },
  "hsl": {
    "h": 289.254,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56957,
    "c": 0.21329,
    "h": 319.9
  },
  "luminance": 0.15936
}

Semantic roles & 50–950 ramp

primary
#AB3DC3
secondary
#9BCC90
accent
#DC4C66
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB3DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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