#712786#712786

#712786 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.6% C 0.160 H 317.9°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#712786
RGBrgb(113, 39, 134)
HSLhsl(287, 55%, 34%)
HSVhsv(287, 71%, 53%)
CMYKcmyk(15.7%, 70.9%, 0%, 47.5%)
CIE-LABlab(31.08, 46.79, -38.32)
CIE-LCHlch(31.08, 60.48, 320.68°)
OKLaboklab(42.63% 0.1188 -0.1075)
OKLCHoklch(42.63% 0.16 317.9)
XYZxyz(11.8380, 6.6835, 23.2161)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712786 #3C8627
analogous
#422786 #712786 #86276C
triadic
#712786 #867127 #278671
tetradic
#712786 #864227 #3C8627 #276C86
square
#712786 #864227 #3C8627 #276C86
split-complementary
#712786 #6C8627 #278642
monochromatic
#210B27 #491957 #712786 #9935B5 #B559CF

Accessibility & contrast

On white

8.99
#712786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712786
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712786#FFFFFF#000000##FFFFFF
##7127861.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#2B4B84
Tritanopia (blue-blind)
#703953
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #712786;
/* rgb */ color: rgb(113, 39, 134);
/* oklch */ color: oklch(42.6% 0.160 317.9);
Tailwind
colors: {
  custom: {
    50: '#9d68aa',
    500: '#712786',
    950: '#000000',
  },
}
SCSS
$custom: #712786;
$custom-light: #9d68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#712786",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 286.737,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42627,
    "c": 0.16021,
    "h": 317.9
  },
  "luminance": 0.06683
}

Semantic roles & 50–950 ramp

primary
#712786
secondary
#6AB455
accent
#DE4A6A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #712786

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

Preview Lab → · Contrast checker → · Palette generator →

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