#AB3ADE#AB3ADE

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

Color values

HEX#AB3ADE
RGBrgb(171, 58, 222)
HSLhsl(281, 71%, 55%)
HSVhsv(281, 74%, 87%)
CMYKcmyk(23%, 73.9%, 0%, 12.9%)
CIE-LABlab(48.21, 69.22, -62.49)
CIE-LCHlch(48.21, 93.25, 317.92°)
OKLaboklab(58.44% 0.1634 -0.1767)
OKLCHoklch(58.44% 0.241 312.8)
XYZxyz(31.4901, 16.9589, 70.7077)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3ADE #6DDE3A
analogous
#593ADE #AB3ADE #DE3ABF
triadic
#AB3ADE #DEAB3A #3ADEAB
tetradic
#AB3ADE #DE593A #6DDE3A #3ABFDE
square
#AB3ADE #DE593A #6DDE3A #3ABFDE
split-complementary
#AB3ADE #BFDE3A #3ADE59
monochromatic
#641787 #8B1FBB #AB3ADE #C16EE7 #D8A3F0

Accessibility & contrast

On white

4.78
#AB3ADE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AB3ADE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3ADE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3ADE#FFFFFF#000000##FFFFFF
##AB3ADE1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#2675DA
Tritanopia (blue-blind)
#A55F8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab3ade;
/* rgb */ color: rgb(171, 58, 222);
/* oklch */ color: oklch(58.4% 0.241 312.8);
Tailwind
colors: {
  custom: {
    50: '#c97be9',
    500: '#ab3ade',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ade;
$custom-light: #c97be9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ade",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 222
  },
  "hsl": {
    "h": 281.341,
    "s": 71.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58441,
    "c": 0.24063,
    "h": 312.8
  },
  "luminance": 0.16958
}

Semantic roles & 50–950 ramp

primary
#AB3ADE
secondary
#ADDC97
accent
#EE3A72
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB3ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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