#711B8F#711B8F

#711B8F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.182 H 315.2°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#711B8F
RGBrgb(113, 27, 143)
HSLhsl(284, 68%, 33%)
HSVhsv(284, 81%, 56%)
CMYKcmyk(21%, 81.1%, 0%, 43.9%)
CIE-LABlab(30.10, 53.21, -45.46)
CIE-LCHlch(30.10, 69.99, 319.49°)
OKLaboklab(42.14% 0.1293 -0.1284)
OKLCHoklch(42.14% 0.182 315.2)
XYZxyz(12.1591, 6.2782, 26.5526)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711B8F #398F1B
analogous
#371B8F #711B8F #8F1B73
triadic
#711B8F #8F711B #1B8F71
tetradic
#711B8F #8F371B #398F1B #1B738F
square
#711B8F #8F371B #398F1B #1B738F
split-complementary
#711B8F #738F1B #1B8F37
monochromatic
#200828 #48115C #711B8F #9A25C2 #B648DC

Accessibility & contrast

On white

9.31
#711B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#711B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711B8F
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711B8F#FFFFFF#000000##FFFFFF
##711B8F1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#15498D
Tritanopia (blue-blind)
#6E3755
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #711b8f;
/* rgb */ color: rgb(113, 27, 143);
/* oklch */ color: oklch(42.1% 0.182 315.2);
Tailwind
colors: {
  custom: {
    50: '#9e63b0',
    500: '#711b8f',
    950: '#000000',
  },
}
SCSS
$custom: #711b8f;
$custom-light: #9e63b0;
$custom-dark: #000000;
JSON
{
  "hex": "#711b8f",
  "rgb": {
    "r": 113,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 284.483,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42138,
    "c": 0.18223,
    "h": 315.2
  },
  "luminance": 0.06278
}

Semantic roles & 50–950 ramp

primary
#711B8F
secondary
#66BE48
accent
#EB3D6A
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #711B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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