#712E87#712E87

#712E87 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.5% C 0.151 H 316.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#712E87
RGBrgb(113, 46, 135)
HSLhsl(285, 49%, 35%)
HSVhsv(285, 66%, 53%)
CMYKcmyk(16.3%, 65.9%, 0%, 47.1%)
CIE-LABlab(32.29, 43.79, -37.00)
CIE-LCHlch(32.29, 57.33, 319.81°)
OKLaboklab(43.52% 0.1104 -0.1037)
OKLCHoklch(43.52% 0.151 316.8)
XYZxyz(12.1596, 7.2144, 23.6690)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712E87 #44872E
analogous
#452E87 #712E87 #872E70
triadic
#712E87 #87712E #2E8771
tetradic
#712E87 #87452E #44872E #2E7087
square
#712E87 #87452E #44872E #2E7087
split-complementary
#712E87 #70872E #2E8745
monochromatic
#250F2C #4B1E59 #712E87 #973EB5 #B165CA

Accessibility & contrast

On white

8.60
#712E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#712E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712E87
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712E87#FFFFFF#000000##FFFFFF
##712E871.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E488A
Deuteranopia (green-blind)
#2F4E85
Tritanopia (blue-blind)
#703E56
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712e87;
/* rgb */ color: rgb(113, 46, 135);
/* oklch */ color: oklch(43.5% 0.151 316.8);
Tailwind
colors: {
  custom: {
    50: '#9d6caa',
    500: '#712e87',
    950: '#000000',
  },
}
SCSS
$custom: #712e87;
$custom-light: #9d6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#712e87",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 285.169,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43522,
    "c": 0.15145,
    "h": 316.8
  },
  "luminance": 0.07214
}

Semantic roles & 50–950 ramp

primary
#712E87
secondary
#74B160
accent
#D94F71
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712E87

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

Preview Lab → · Contrast checker → · Palette generator →

#712E87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva