#711B97#711B97

#711B97 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.8% C 0.189 H 312.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#711B97
RGBrgb(113, 27, 151)
HSLhsl(282, 70%, 35%)
HSVhsv(282, 82%, 59%)
CMYKcmyk(25.2%, 82.1%, 0%, 40.8%)
CIE-LABlab(30.71, 54.86, -49.40)
CIE-LCHlch(30.71, 73.83, 318.00°)
OKLaboklab(42.75% 0.1276 -0.1399)
OKLCHoklch(42.75% 0.189 312.4)
XYZxyz(12.7869, 6.5293, 29.8589)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711B97 #41971B
analogous
#331B97 #711B97 #971B7F
triadic
#711B97 #97711B #1B9771
tetradic
#711B97 #97331B #41971B #1B7F97
square
#711B97 #97331B #41971B #1B7F97
split-complementary
#711B97 #7F971B #1B9733
monochromatic
#23082F #4A1263 #711B97 #9824CB #B24DDF

Accessibility & contrast

On white

9.11
#711B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#711B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711B97
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711B97#FFFFFF#000000##FFFFFF
##711B971.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#6C3A5A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #711b97;
/* rgb */ color: rgb(113, 27, 151);
/* oklch */ color: oklch(42.8% 0.189 312.4);
Tailwind
colors: {
  custom: {
    50: '#9e63b6',
    500: '#711b97',
    950: '#000000',
  },
}
SCSS
$custom: #711b97;
$custom-light: #9e63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#711b97",
  "rgb": {
    "r": 113,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 281.613,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42754,
    "c": 0.18941,
    "h": 312.4
  },
  "luminance": 0.06529
}

Semantic roles & 50–950 ramp

primary
#711B97
secondary
#70C14C
accent
#EC3B72
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #711B97

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

Preview Lab → · Contrast checker → · Palette generator →

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