#712A86#712A86

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

Color values

HEX#712A86
RGBrgb(113, 42, 134)
HSLhsl(286, 52%, 35%)
HSVhsv(286, 69%, 53%)
CMYKcmyk(15.7%, 68.7%, 0%, 47.5%)
CIE-LABlab(31.55, 45.45, -37.56)
CIE-LCHlch(31.55, 58.96, 320.43°)
OKLaboklab(42.97% 0.1153 -0.1053)
OKLCHoklch(42.97% 0.156 317.6)
XYZxyz(11.9405, 6.8884, 23.2503)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A86 #3F862A
analogous
#432A86 #712A86 #862A6D
triadic
#712A86 #86712A #2A8671
tetradic
#712A86 #86432A #3F862A #2A6D86
square
#712A86 #86432A #3F862A #2A6D86
split-complementary
#712A86 #6D862A #2A8643
monochromatic
#220D29 #4A1B57 #712A86 #9839B5 #B35ECD

Accessibility & contrast

On white

8.83
#712A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712A86
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A86#FFFFFF#000000##FFFFFF
##712A861.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024689
Deuteranopia (green-blind)
#2D4C84
Tritanopia (blue-blind)
#703B54
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712a86;
/* rgb */ color: rgb(113, 42, 134);
/* oklch */ color: oklch(43.0% 0.156 317.6);
Tailwind
colors: {
  custom: {
    50: '#9d69aa',
    500: '#712a86',
    950: '#000000',
  },
}
SCSS
$custom: #712a86;
$custom-light: #9d69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#712a86",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 286.304,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42969,
    "c": 0.15615,
    "h": 317.6
  },
  "luminance": 0.06888
}

Semantic roles & 50–950 ramp

primary
#712A86
secondary
#6EB25A
accent
#DC4C6D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712A86

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

Preview Lab → · Contrast checker → · Palette generator →

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