#AB35CC#AB35CC

#AB35CC is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.230 H 317.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AB35CC
RGBrgb(171, 53, 204)
HSLhsl(287, 60%, 50%)
HSVhsv(287, 74%, 80%)
CMYKcmyk(16.2%, 74%, 0%, 20%)
CIE-LABlab(46.40, 67.51, -55.09)
CIE-LCHlch(46.40, 87.14, 320.78°)
OKLaboklab(56.78% 0.1703 -0.1549)
OKLCHoklch(56.78% 0.23 317.7)
XYZxyz(28.9652, 15.5651, 58.5937)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB35CC #56CC35
analogous
#5F35CC #AB35CC #CC35A2
triadic
#AB35CC #CCAB35 #35CCAB
tetradic
#AB35CC #CC5F35 #56CC35 #35A2CC
square
#AB35CC #CC5F35 #56CC35 #35A2CC
split-complementary
#AB35CC #A2CC35 #35CC5F
monochromatic
#5A1B6B #83279C #AB35CC #BF66D8 #D497E5

Accessibility & contrast

On white

5.11
#AB35CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#AB35CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB35CC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB35CC#FFFFFF#000000##FFFFFF
##AB35CC1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#3A71C9
Tritanopia (blue-blind)
#AA557E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab35cc;
/* rgb */ color: rgb(171, 53, 204);
/* oklch */ color: oklch(56.8% 0.230 317.7);
Tailwind
colors: {
  custom: {
    50: '#c878dc',
    500: '#ab35cc',
    950: '#000000',
  },
}
SCSS
$custom: #ab35cc;
$custom-light: #c878dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab35cc",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 286.887,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56783,
    "c": 0.23019,
    "h": 317.7
  },
  "luminance": 0.15564
}

Semantic roles & 50–950 ramp

primary
#AB35CC
secondary
#9BD08D
accent
#E34567
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB35CC

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

Preview Lab → · Contrast checker → · Palette generator →

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