#712B86#712B86

#712B86 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.155 H 317.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#712B86
RGBrgb(113, 43, 134)
HSLhsl(286, 51%, 35%)
HSVhsv(286, 68%, 53%)
CMYKcmyk(15.7%, 67.9%, 0%, 47.5%)
CIE-LABlab(31.72, 45.00, -37.29)
CIE-LCHlch(31.72, 58.44, 320.35°)
OKLaboklab(43.09% 0.1141 -0.1045)
OKLCHoklch(43.09% 0.155 317.5)
XYZxyz(11.9764, 6.9602, 23.2622)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712B86 #40862B
analogous
#442B86 #712B86 #862B6D
triadic
#712B86 #86712B #2B8671
tetradic
#712B86 #86442B #40862B #2B6D86
square
#712B86 #86442B #40862B #2B6D86
split-complementary
#712B86 #6D862B #2B8644
monochromatic
#230D29 #4A1C58 #712B86 #983AB4 #B360CC

Accessibility & contrast

On white

8.78
#712B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#712B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712B86
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712B86#FFFFFF#000000##FFFFFF
##712B861.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #712b86;
/* rgb */ color: rgb(113, 43, 134);
/* oklch */ color: oklch(43.1% 0.155 317.5);
Tailwind
colors: {
  custom: {
    50: '#9d6aaa',
    500: '#712b86',
    950: '#000000',
  },
}
SCSS
$custom: #712b86;
$custom-light: #9d6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#712b86",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 286.154,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43087,
    "c": 0.15474,
    "h": 317.5
  },
  "luminance": 0.0696
}

Semantic roles & 50–950 ramp

primary
#712B86
secondary
#6FB25B
accent
#DB4D6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712B86

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

Preview Lab → · Contrast checker → · Palette generator →

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