#712787#712787

#712787 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.161 H 317.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#712787
RGBrgb(113, 39, 135)
HSLhsl(286, 55%, 34%)
HSVhsv(286, 71%, 53%)
CMYKcmyk(16.3%, 71.1%, 0%, 47.1%)
CIE-LABlab(31.14, 47.00, -38.84)
CIE-LCHlch(31.14, 60.97, 320.43°)
OKLaboklab(42.7% 0.1187 -0.109)
OKLCHoklch(42.7% 0.161 317.4)
XYZxyz(11.9081, 6.7115, 23.5852)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712787 #3D8727
analogous
#412787 #712787 #87276D
triadic
#712787 #877127 #278771
tetradic
#712787 #874127 #3D8727 #276D87
square
#712787 #874127 #3D8727 #276D87
split-complementary
#712787 #6D8727 #278741
monochromatic
#220C28 #491958 #712787 #9935B6 #B459CF

Accessibility & contrast

On white

8.97
#712787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#712787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712787
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712787#FFFFFF#000000##FFFFFF
##7127871.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#2A4C85
Tritanopia (blue-blind)
#703A54
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #712787;
/* rgb */ color: rgb(113, 39, 135);
/* oklch */ color: oklch(42.7% 0.161 317.4);
Tailwind
colors: {
  custom: {
    50: '#9d68aa',
    500: '#712787',
    950: '#000000',
  },
}
SCSS
$custom: #712787;
$custom-light: #9d68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#712787",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 286.25,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42695,
    "c": 0.16118,
    "h": 317.4
  },
  "luminance": 0.06711
}

Semantic roles & 50–950 ramp

primary
#712787
secondary
#6BB456
accent
#DF496B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #712787

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

Preview Lab → · Contrast checker → · Palette generator →

#712787 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva