#712986#712986

#712986 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.158 H 317.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#712986
RGBrgb(113, 41, 134)
HSLhsl(286, 53%, 34%)
HSVhsv(286, 69%, 53%)
CMYKcmyk(15.7%, 69.4%, 0%, 47.5%)
CIE-LABlab(31.39, 45.91, -37.82)
CIE-LCHlch(31.39, 59.48, 320.52°)
OKLaboklab(42.85% 0.1165 -0.106)
OKLCHoklch(42.85% 0.158 317.7)
XYZxyz(11.9055, 6.8183, 23.2386)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712986 #3E8629
analogous
#432986 #712986 #86296D
triadic
#712986 #867129 #298671
tetradic
#712986 #864329 #3E8629 #296D86
square
#712986 #864329 #3E8629 #296D86
split-complementary
#712986 #6D8629 #298643
monochromatic
#220C28 #491B57 #712986 #9937B5 #B45CCD

Accessibility & contrast

On white

8.88
#712986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#712986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712986
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712986#FFFFFF#000000##FFFFFF
##7129861.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#2C4C84
Tritanopia (blue-blind)
#703A54
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712986;
/* rgb */ color: rgb(113, 41, 134);
/* oklch */ color: oklch(42.9% 0.158 317.7);
Tailwind
colors: {
  custom: {
    50: '#9d69aa',
    500: '#712986',
    950: '#000000',
  },
}
SCSS
$custom: #712986;
$custom-light: #9d69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#712986",
  "rgb": {
    "r": 113,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 286.452,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42853,
    "c": 0.15753,
    "h": 317.7
  },
  "luminance": 0.06818
}

Semantic roles & 50–950 ramp

primary
#712986
secondary
#6DB358
accent
#DD4B6C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712986

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

Preview Lab → · Contrast checker → · Palette generator →

#712986 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva