#AB3DCA#AB3DCA

#AB3DCA is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.4% C 0.219 H 317.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AB3DCA
RGBrgb(171, 61, 202)
HSLhsl(287, 57%, 52%)
HSVhsv(287, 70%, 79%)
CMYKcmyk(15.3%, 69.8%, 0%, 20.8%)
CIE-LABlab(47.32, 64.17, -52.47)
CIE-LCHlch(47.32, 82.89, 320.73°)
OKLaboklab(57.4% 0.1628 -0.1473)
OKLCHoklch(57.4% 0.219 317.9)
XYZxyz(29.1225, 16.2610, 57.4703)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DCA #5CCA3D
analogous
#653DCA #AB3DCA #CA3DA2
triadic
#AB3DCA #CAAB3D #3DCAAB
tetradic
#AB3DCA #CA653D #5CCA3D #3DA2CA
square
#AB3DCA #CA653D #5CCA3D #3DA2CA
split-complementary
#AB3DCA #A2CA3D #3DCA65
monochromatic
#5D1E6E #852B9F #AB3DCA #C06DD7 #D59DE4

Accessibility & contrast

On white

4.94
#AB3DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AB3DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3DCA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DCA#FFFFFF#000000##FFFFFF
##AB3DCA1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#4274C7
Tritanopia (blue-blind)
#AA587F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3dca;
/* rgb */ color: rgb(171, 61, 202);
/* oklch */ color: oklch(57.4% 0.219 317.9);
Tailwind
colors: {
  custom: {
    50: '#c87cdb',
    500: '#ab3dca',
    950: '#000000',
  },
}
SCSS
$custom: #ab3dca;
$custom-light: #c87cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3dca",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 286.809,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57395,
    "c": 0.21949,
    "h": 317.9
  },
  "luminance": 0.1626
}

Semantic roles & 50–950 ramp

primary
#AB3DCA
secondary
#A0D092
accent
#E04769
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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