#711B87#711B87

#711B87 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.175 H 318.3°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#711B87
RGBrgb(113, 27, 135)
HSLhsl(288, 67%, 32%)
HSVhsv(288, 80%, 53%)
CMYKcmyk(16.3%, 80%, 0%, 47.1%)
CIE-LABlab(29.52, 51.61, -41.43)
CIE-LCHlch(29.52, 66.18, 321.24°)
OKLaboklab(41.55% 0.1307 -0.1165)
OKLCHoklch(41.55% 0.175 318.3)
XYZxyz(11.5745, 6.0444, 23.4740)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711B87 #31871B
analogous
#3B1B87 #711B87 #871B67
triadic
#711B87 #87711B #1B8771
tetradic
#711B87 #873B1B #31871B #1B6787
square
#711B87 #873B1B #31871B #1B6787
split-complementary
#711B87 #67871B #1B873B
monochromatic
#1C0721 #461154 #711B87 #9C25BA #BB43D9

Accessibility & contrast

On white

9.51
#711B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#711B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711B87
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711B87#FFFFFF#000000##FFFFFF
##711B871.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#214885
Tritanopia (blue-blind)
#703351
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #711b87;
/* rgb */ color: rgb(113, 27, 135);
/* oklch */ color: oklch(41.5% 0.175 318.3);
Tailwind
colors: {
  custom: {
    50: '#9e63ab',
    500: '#711b87',
    950: '#000000',
  },
}
SCSS
$custom: #711b87;
$custom-light: #9e63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#711b87",
  "rgb": {
    "r": 113,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 287.778,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41546,
    "c": 0.17511,
    "h": 318.3
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#711B87
secondary
#5CBA44
accent
#EA3E61
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #711B87

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

Preview Lab → · Contrast checker → · Palette generator →

#711B87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva