#711C8B#711C8B

#711C8B is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.178 H 316.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#711C8B
RGBrgb(113, 28, 139)
HSLhsl(286, 66%, 33%)
HSVhsv(286, 80%, 55%)
CMYKcmyk(18.7%, 79.9%, 0%, 45.5%)
CIE-LABlab(29.93, 52.07, -43.27)
CIE-LCHlch(29.93, 67.71, 320.27°)
OKLaboklab(41.92% 0.1292 -0.122)
OKLCHoklch(41.92% 0.178 316.7)
XYZxyz(11.8848, 6.2058, 24.9929)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711C8B #368B1C
analogous
#391C8B #711C8B #8B1C6D
triadic
#711C8B #8B711C #1C8B71
tetradic
#711C8B #8B391C #368B1C #1C6D8B
square
#711C8B #8B391C #368B1C #1C6D8B
split-complementary
#711C8B #6D8B1C #1C8B39
monochromatic
#1E0725 #481258 #711C8B #9A26BE #B847DA

Accessibility & contrast

On white

9.37
#711C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#711C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711C8B
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711C8B#FFFFFF#000000##FFFFFF
##711C8B1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#1C4989
Tritanopia (blue-blind)
#6F3553
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #711c8b;
/* rgb */ color: rgb(113, 28, 139);
/* oklch */ color: oklch(41.9% 0.178 316.7);
Tailwind
colors: {
  custom: {
    50: '#9e63ad',
    500: '#711c8b',
    950: '#000000',
  },
}
SCSS
$custom: #711c8b;
$custom-light: #9e63ad;
$custom-dark: #000000;
JSON
{
  "hex": "#711c8b",
  "rgb": {
    "r": 113,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 285.946,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4192,
    "c": 0.17767,
    "h": 316.7
  },
  "luminance": 0.06205
}

Semantic roles & 50–950 ramp

primary
#711C8B
secondary
#62BC47
accent
#E93E66
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #711C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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