#712886#712886

#712886 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.7% C 0.159 H 317.8°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#712886
RGBrgb(113, 40, 134)
HSLhsl(287, 54%, 34%)
HSVhsv(287, 70%, 53%)
CMYKcmyk(15.7%, 70.1%, 0%, 47.5%)
CIE-LABlab(31.23, 46.35, -38.07)
CIE-LCHlch(31.23, 59.98, 320.60°)
OKLaboklab(42.74% 0.1176 -0.1068)
OKLCHoklch(42.74% 0.159 317.8)
XYZxyz(11.8713, 6.7500, 23.2272)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712886 #3D8628
analogous
#422886 #712886 #86286C
triadic
#712886 #867128 #288671
tetradic
#712886 #864228 #3D8628 #286C86
square
#712886 #864228 #3D8628 #286C86
split-complementary
#712886 #6C8628 #288642
monochromatic
#220C28 #491A57 #712886 #9936B5 #B45BCE

Accessibility & contrast

On white

8.94
#712886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#712886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712886
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712886#FFFFFF#000000##FFFFFF
##7128861.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#2B4C84
Tritanopia (blue-blind)
#703A54
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #712886;
/* rgb */ color: rgb(113, 40, 134);
/* oklch */ color: oklch(42.7% 0.159 317.8);
Tailwind
colors: {
  custom: {
    50: '#9d68aa',
    500: '#712886',
    950: '#000000',
  },
}
SCSS
$custom: #712886;
$custom-light: #9d68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#712886",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 286.596,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42739,
    "c": 0.15888,
    "h": 317.8
  },
  "luminance": 0.0675
}

Semantic roles & 50–950 ramp

primary
#712886
secondary
#6BB357
accent
#DD4A6B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712886

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

Preview Lab → · Contrast checker → · Palette generator →

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