#AB3DCE#AB3DCE

#AB3DCE is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.7% C 0.223 H 316.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AB3DCE
RGBrgb(171, 61, 206)
HSLhsl(286, 60%, 52%)
HSVhsv(286, 70%, 81%)
CMYKcmyk(17%, 70.4%, 0%, 19.2%)
CIE-LABlab(47.56, 64.94, -54.37)
CIE-LCHlch(47.56, 84.70, 320.06°)
OKLaboklab(57.65% 0.1624 -0.1529)
OKLCHoklch(57.65% 0.223 316.7)
XYZxyz(29.6022, 16.4528, 59.9970)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DCE #60CE3D
analogous
#623DCE #AB3DCE #CE3DA9
triadic
#AB3DCE #CEAB3D #3DCEAB
tetradic
#AB3DCE #CE623D #60CE3D #3DA9CE
square
#AB3DCE #CE623D #60CE3D #3DA9CE
split-complementary
#AB3DCE #A9CE3D #3DCE62
monochromatic
#5F1D73 #8729A4 #AB3DCE #C06EDA #D59FE7

Accessibility & contrast

On white

4.89
#AB3DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AB3DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3DCE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DCE#FFFFFF#000000##FFFFFF
##AB3DCE1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#3F74CB
Tritanopia (blue-blind)
#A95A82
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab3dce;
/* rgb */ color: rgb(171, 61, 206);
/* oklch */ color: oklch(57.7% 0.223 316.7);
Tailwind
colors: {
  custom: {
    50: '#c87cde',
    500: '#ab3dce',
    950: '#000000',
  },
}
SCSS
$custom: #ab3dce;
$custom-light: #c87cde;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3dce",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 285.517,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57652,
    "c": 0.22305,
    "h": 316.7
  },
  "luminance": 0.16452
}

Semantic roles & 50–950 ramp

primary
#AB3DCE
secondary
#A3D394
accent
#E3456B
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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