#712A87#712A87

#712A87 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.157 H 317.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#712A87
RGBrgb(113, 42, 135)
HSLhsl(286, 53%, 35%)
HSVhsv(286, 69%, 53%)
CMYKcmyk(16.3%, 68.9%, 0%, 47.1%)
CIE-LABlab(31.62, 45.67, -38.07)
CIE-LCHlch(31.62, 59.46, 320.18°)
OKLaboklab(43.04% 0.1153 -0.1068)
OKLCHoklch(43.04% 0.157 317.2)
XYZxyz(12.0106, 6.9164, 23.6193)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A87 #40872A
analogous
#422A87 #712A87 #872A6F
triadic
#712A87 #87712A #2A8771
tetradic
#712A87 #87422A #40872A #2A6F87
square
#712A87 #87422A #40872A #2A6F87
split-complementary
#712A87 #6F872A #2A8742
monochromatic
#230D2A #4A1B58 #712A87 #9839B6 #B35ECD

Accessibility & contrast

On white

8.81
#712A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#712A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A87
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A87#FFFFFF#000000##FFFFFF
##712A871.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#2C4D85
Tritanopia (blue-blind)
#703B55
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712a87;
/* rgb */ color: rgb(113, 42, 135);
/* oklch */ color: oklch(43.0% 0.157 317.2);
Tailwind
colors: {
  custom: {
    50: '#9d69aa',
    500: '#712a87',
    950: '#000000',
  },
}
SCSS
$custom: #712a87;
$custom-light: #9d69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#712a87",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 285.806,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43036,
    "c": 0.15714,
    "h": 317.2
  },
  "luminance": 0.06916
}

Semantic roles & 50–950 ramp

primary
#712A87
secondary
#6FB35A
accent
#DC4C6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712A87

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

Preview Lab → · Contrast checker → · Palette generator →

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