#712887#712887

#712887 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.160 H 317.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#712887
RGBrgb(113, 40, 135)
HSLhsl(286, 54%, 34%)
HSVhsv(286, 70%, 53%)
CMYKcmyk(16.3%, 70.4%, 0%, 47.1%)
CIE-LABlab(31.30, 46.56, -38.59)
CIE-LCHlch(31.30, 60.47, 320.35°)
OKLaboklab(42.81% 0.1176 -0.1083)
OKLCHoklch(42.81% 0.16 317.4)
XYZxyz(11.9414, 6.7781, 23.5963)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712887 #3E8728
analogous
#412887 #712887 #87286E
triadic
#712887 #877128 #288771
tetradic
#712887 #874128 #3E8728 #286E87
square
#712887 #874128 #3E8728 #286E87
split-complementary
#712887 #6E8728 #288741
monochromatic
#220C29 #491A58 #712887 #9936B6 #B45BCE

Accessibility & contrast

On white

8.91
#712887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#712887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712887
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712887#FFFFFF#000000##FFFFFF
##7128871.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#2B4C85
Tritanopia (blue-blind)
#703A54
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712887;
/* rgb */ color: rgb(113, 40, 135);
/* oklch */ color: oklch(42.8% 0.160 317.4);
Tailwind
colors: {
  custom: {
    50: '#9d68aa',
    500: '#712887',
    950: '#000000',
  },
}
SCSS
$custom: #712887;
$custom-light: #9d68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#712887",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 286.105,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42807,
    "c": 0.15986,
    "h": 317.4
  },
  "luminance": 0.06778
}

Semantic roles & 50–950 ramp

primary
#712887
secondary
#6DB457
accent
#DE4A6C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712887

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

Preview Lab → · Contrast checker → · Palette generator →

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