#711F98#711F98

#711F98 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.187 H 311.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#711F98
RGBrgb(113, 31, 152)
HSLhsl(281, 66%, 36%)
HSVhsv(281, 80%, 60%)
CMYKcmyk(25.7%, 79.6%, 0%, 40.4%)
CIE-LABlab(31.25, 53.73, -49.14)
CIE-LCHlch(31.25, 72.81, 317.56°)
OKLaboklab(43.16% 0.1242 -0.1392)
OKLCHoklch(43.16% 0.187 311.7)
XYZxyz(12.9665, 6.7580, 30.3211)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711F98 #46981F
analogous
#341F98 #711F98 #981F82
triadic
#711F98 #98711F #1F9871
tetradic
#711F98 #98341F #46981F #1F8298
square
#711F98 #98341F #46981F #1F8298
split-complementary
#711F98 #82981F #1F9834
monochromatic
#250A32 #4B1565 #711F98 #9729CB #B155DC

Accessibility & contrast

On white

8.93
#711F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#711F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711F98
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711F98#FFFFFF#000000##FFFFFF
##711F981.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#034B96
Tritanopia (blue-blind)
#6C3D5B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #711f98;
/* rgb */ color: rgb(113, 31, 152);
/* oklch */ color: oklch(43.2% 0.187 311.7);
Tailwind
colors: {
  custom: {
    50: '#9e65b7',
    500: '#711f98',
    950: '#000000',
  },
}
SCSS
$custom: #711f98;
$custom-light: #9e65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#711f98",
  "rgb": {
    "r": 113,
    "g": 31,
    "b": 152
  },
  "hsl": {
    "h": 280.661,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43156,
    "c": 0.18655,
    "h": 311.7
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#711F98
secondary
#76C053
accent
#E93F76
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #711F98

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

Preview Lab → · Contrast checker → · Palette generator →

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