#AB35DC#AB35DC

#AB35DC is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.9% C 0.244 H 313.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AB35DC
RGBrgb(171, 53, 220)
HSLhsl(282, 70%, 54%)
HSVhsv(282, 76%, 86%)
CMYKcmyk(22.3%, 75.9%, 0%, 13.7%)
CIE-LABlab(47.46, 70.58, -62.56)
CIE-LCHlch(47.46, 94.32, 318.45°)
OKLaboklab(57.87% 0.168 -0.1768)
OKLCHoklch(57.87% 0.244 313.5)
XYZxyz(30.9837, 16.3724, 69.2243)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB35DC #66DC35
analogous
#5735DC #AB35DC #DC35B9
triadic
#AB35DC #DCAB35 #35DCAB
tetradic
#AB35DC #DC5735 #66DC35 #35B9DC
square
#AB35DC #DC5735 #66DC35 #35B9DC
split-complementary
#AB35DC #B9DC35 #35DC57
monochromatic
#611680 #891FB5 #AB35DC #C169E5 #D69DEE

Accessibility & contrast

On white

4.91
#AB35DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AB35DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB35DC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB35DC#FFFFFF#000000##FFFFFF
##AB35DC1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE1
Deuteranopia (green-blind)
#2373D8
Tritanopia (blue-blind)
#A65C87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab35dc;
/* rgb */ color: rgb(171, 53, 220);
/* oklch */ color: oklch(57.9% 0.244 313.5);
Tailwind
colors: {
  custom: {
    50: '#c979e8',
    500: '#ab35dc',
    950: '#000000',
  },
}
SCSS
$custom: #ab35dc;
$custom-light: #c979e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab35dc",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 220
  },
  "hsl": {
    "h": 282.395,
    "s": 70.464,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57869,
    "c": 0.24393,
    "h": 313.5
  },
  "luminance": 0.16371
}

Semantic roles & 50–950 ramp

primary
#AB35DC
secondary
#A8DA93
accent
#ED3B6F
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB35DC

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

Preview Lab → · Contrast checker → · Palette generator →

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