#AB35CF#AB35CF

#AB35CF is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.0% C 0.233 H 316.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AB35CF
RGBrgb(171, 53, 207)
HSLhsl(286, 62%, 51%)
HSVhsv(286, 74%, 81%)
CMYKcmyk(17.4%, 74.4%, 0%, 18.8%)
CIE-LABlab(46.59, 68.08, -56.51)
CIE-LCHlch(46.59, 88.48, 320.30°)
OKLaboklab(56.98% 0.1699 -0.1591)
OKLCHoklch(56.98% 0.233 316.9)
XYZxyz(29.3285, 15.7104, 60.5069)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB35CF #59CF35
analogous
#5E35CF #AB35CF #CF35A6
triadic
#AB35CF #CFAB35 #35CFAB
tetradic
#AB35CF #CF5E35 #59CF35 #35A6CF
square
#AB35CF #CF5E35 #59CF35 #35A6CF
split-complementary
#AB35CF #A6CF35 #35CF5E
monochromatic
#5B1A6F #8426A1 #AB35CF #C066DB #D498E7

Accessibility & contrast

On white

5.07
#AB35CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AB35CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB35CF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB35CF#FFFFFF#000000##FFFFFF
##AB35CF1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#3772CC
Tritanopia (blue-blind)
#A95680
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab35cf;
/* rgb */ color: rgb(171, 53, 207);
/* oklch */ color: oklch(57.0% 0.233 316.9);
Tailwind
colors: {
  custom: {
    50: '#c878de',
    500: '#ab35cf',
    950: '#000000',
  },
}
SCSS
$custom: #ab35cf;
$custom-light: #c878de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab35cf",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 207
  },
  "hsl": {
    "h": 285.974,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56982,
    "c": 0.23274,
    "h": 316.9
  },
  "luminance": 0.15709
}

Semantic roles & 50–950 ramp

primary
#AB35CF
secondary
#9ED28E
accent
#E54369
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB35CF

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

Preview Lab → · Contrast checker → · Palette generator →

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