#711A8B#711A8B

#711A8B is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.180 H 316.8°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#711A8B
RGBrgb(113, 26, 139)
HSLhsl(286, 68%, 32%)
HSVhsv(286, 81%, 55%)
CMYKcmyk(18.7%, 81.3%, 0%, 45.5%)
CIE-LABlab(29.70, 52.73, -43.64)
CIE-LCHlch(29.70, 68.45, 320.39°)
OKLaboklab(41.76% 0.1309 -0.123)
OKLCHoklch(41.76% 0.18 316.8)
XYZxyz(11.8389, 6.1141, 24.9776)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711A8B #348B1A
analogous
#391A8B #711A8B #8B1A6C
triadic
#711A8B #8B711A #1A8B71
tetradic
#711A8B #8B391A #348B1A #1A6C8B
square
#711A8B #8B391A #348B1A #1A6C8B
split-complementary
#711A8B #6C8B1A #1A8B39
monochromatic
#1D0724 #471057 #711A8B #9B24BF #B943DC

Accessibility & contrast

On white

9.45
#711A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#711A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711A8B
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711A8B#FFFFFF#000000##FFFFFF
##711A8B1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #711a8b;
/* rgb */ color: rgb(113, 26, 139);
/* oklch */ color: oklch(41.8% 0.180 316.8);
Tailwind
colors: {
  custom: {
    50: '#9e62ae',
    500: '#711a8b',
    950: '#000000',
  },
}
SCSS
$custom: #711a8b;
$custom-light: #9e62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#711a8b",
  "rgb": {
    "r": 113,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 286.195,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4176,
    "c": 0.17962,
    "h": 316.8
  },
  "luminance": 0.06114
}

Semantic roles & 50–950 ramp

primary
#711A8B
secondary
#60BD44
accent
#EB3C65
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #711A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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