#712C86#712C86

#712C86 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.153 H 317.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#712C86
RGBrgb(113, 44, 134)
HSLhsl(286, 51%, 35%)
HSVhsv(286, 67%, 53%)
CMYKcmyk(15.7%, 67.2%, 0%, 47.5%)
CIE-LABlab(31.88, 44.53, -37.02)
CIE-LCHlch(31.88, 57.91, 320.26°)
OKLaboklab(43.21% 0.1129 -0.1038)
OKLCHoklch(43.21% 0.153 317.4)
XYZxyz(12.0132, 7.0338, 23.2745)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712C86 #41862C
analogous
#442C86 #712C86 #862C6E
triadic
#712C86 #86712C #2C8671
tetradic
#712C86 #86442C #41862C #2C6E86
square
#712C86 #86442C #41862C #2C6E86
split-complementary
#712C86 #6E862C #2C8644
monochromatic
#230E2A #4A1D58 #712C86 #983BB4 #B261CB

Accessibility & contrast

On white

8.73
#712C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#712C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712C86
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712C86#FFFFFF#000000##FFFFFF
##712C861.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094789
Deuteranopia (green-blind)
#2F4D84
Tritanopia (blue-blind)
#703C55
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #712c86;
/* rgb */ color: rgb(113, 44, 134);
/* oklch */ color: oklch(43.2% 0.153 317.4);
Tailwind
colors: {
  custom: {
    50: '#9d6aaa',
    500: '#712c86',
    950: '#000000',
  },
}
SCSS
$custom: #712c86;
$custom-light: #9d6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#712c86",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 286,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43208,
    "c": 0.15333,
    "h": 317.4
  },
  "luminance": 0.07033
}

Semantic roles & 50–950 ramp

primary
#712C86
secondary
#70B15C
accent
#DA4E6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712C86

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

Preview Lab → · Contrast checker → · Palette generator →

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