#712D87#712D87

#712D87 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.153 H 316.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#712D87
RGBrgb(113, 45, 135)
HSLhsl(285, 50%, 35%)
HSVhsv(285, 67%, 53%)
CMYKcmyk(16.3%, 66.7%, 0%, 47.1%)
CIE-LABlab(32.12, 44.27, -37.27)
CIE-LCHlch(32.12, 57.87, 319.91°)
OKLaboklab(43.4% 0.1116 -0.1045)
OKLCHoklch(43.4% 0.153 316.9)
XYZxyz(12.1210, 7.1372, 23.6561)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712D87 #43872D
analogous
#442D87 #712D87 #872D70
triadic
#712D87 #87712D #2D8771
tetradic
#712D87 #87442D #43872D #2D7087
square
#712D87 #87442D #43872D #2D7087
split-complementary
#712D87 #70872D #2D8744
monochromatic
#240E2B #4B1E59 #712D87 #973CB5 #B263CB

Accessibility & contrast

On white

8.65
#712D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#712D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712D87
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712D87#FFFFFF#000000##FFFFFF
##712D871.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #712d87;
/* rgb */ color: rgb(113, 45, 135);
/* oklch */ color: oklch(43.4% 0.153 316.9);
Tailwind
colors: {
  custom: {
    50: '#9d6baa',
    500: '#712d87',
    950: '#000000',
  },
}
SCSS
$custom: #712d87;
$custom-light: #9d6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#712d87",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 285.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43397,
    "c": 0.1529,
    "h": 316.9
  },
  "luminance": 0.07137
}

Semantic roles & 50–950 ramp

primary
#712D87
secondary
#73B25E
accent
#DA4E70
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712D87

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

Preview Lab → · Contrast checker → · Palette generator →

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