#AB36CE#AB36CE

#AB36CE is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.231 H 317.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AB36CE
RGBrgb(171, 54, 206)
HSLhsl(286, 61%, 51%)
HSVhsv(286, 74%, 81%)
CMYKcmyk(17%, 73.8%, 0%, 19.2%)
CIE-LABlab(46.65, 67.54, -55.84)
CIE-LCHlch(46.65, 87.64, 320.42°)
OKLaboklab(57% 0.1691 -0.1571)
OKLCHoklch(57% 0.231 317.1)
XYZxyz(29.2527, 15.7537, 59.8804)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB36CE #59CE36
analogous
#5F36CE #AB36CE #CE36A5
triadic
#AB36CE #CEAB36 #36CEAB
tetradic
#AB36CE #CE5F36 #59CE36 #36A5CE
square
#AB36CE #CE5F36 #59CE36 #36A5CE
split-complementary
#AB36CE #A5CE36 #36CE5F
monochromatic
#5B1B6F #8427A0 #AB36CE #C067DA #D498E6

Accessibility & contrast

On white

5.06
#AB36CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AB36CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB36CE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB36CE#FFFFFF#000000##FFFFFF
##AB36CE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#3972CB
Tritanopia (blue-blind)
#A95680
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab36ce;
/* rgb */ color: rgb(171, 54, 206);
/* oklch */ color: oklch(57.0% 0.231 317.1);
Tailwind
colors: {
  custom: {
    50: '#c879de',
    500: '#ab36ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab36ce;
$custom-light: #c879de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab36ce",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 206
  },
  "hsl": {
    "h": 286.184,
    "s": 60.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57002,
    "c": 0.23084,
    "h": 317.1
  },
  "luminance": 0.15752
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB36CE

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

Preview Lab → · Contrast checker → · Palette generator →

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