#AB3DCB#AB3DCB

#AB3DCB is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.5% C 0.220 H 317.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AB3DCB
RGBrgb(171, 61, 203)
HSLhsl(286, 58%, 52%)
HSVhsv(286, 70%, 80%)
CMYKcmyk(15.8%, 70%, 0%, 20.4%)
CIE-LABlab(47.38, 64.36, -52.95)
CIE-LCHlch(47.38, 83.34, 320.56°)
OKLaboklab(57.46% 0.1627 -0.1487)
OKLCHoklch(57.46% 0.22 317.6)
XYZxyz(29.2413, 16.3085, 58.0959)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DCB #5DCB3D
analogous
#643DCB #AB3DCB #CB3DA4
triadic
#AB3DCB #CBAB3D #3DCBAB
tetradic
#AB3DCB #CB643D #5DCB3D #3DA4CB
square
#AB3DCB #CB643D #5DCB3D #3DA4CB
split-complementary
#AB3DCB #A4CB3D #3DCB64
monochromatic
#5D1E70 #862BA0 #AB3DCB #C06DD8 #D59EE5

Accessibility & contrast

On white

4.93
#AB3DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AB3DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3DCB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DCB#FFFFFF#000000##FFFFFF
##AB3DCB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#4174C8
Tritanopia (blue-blind)
#AA5980
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3dcb;
/* rgb */ color: rgb(171, 61, 203);
/* oklch */ color: oklch(57.5% 0.220 317.6);
Tailwind
colors: {
  custom: {
    50: '#c87cdb',
    500: '#ab3dcb',
    950: '#000000',
  },
}
SCSS
$custom: #ab3dcb;
$custom-light: #c87cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3dcb",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 286.479,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57459,
    "c": 0.22037,
    "h": 317.6
  },
  "luminance": 0.16307
}

Semantic roles & 50–950 ramp

primary
#AB3DCB
secondary
#A1D193
accent
#E1476A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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