#712987#712987

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

Color values

HEX#712987
RGBrgb(113, 41, 135)
HSLhsl(286, 53%, 35%)
HSVhsv(286, 70%, 53%)
CMYKcmyk(16.3%, 69.6%, 0%, 47.1%)
CIE-LABlab(31.45, 46.12, -38.33)
CIE-LCHlch(31.45, 59.97, 320.27°)
OKLaboklab(42.92% 0.1164 -0.1076)
OKLCHoklch(42.92% 0.159 317.3)
XYZxyz(11.9755, 6.8463, 23.6076)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712987 #3F8729
analogous
#422987 #712987 #87296E
triadic
#712987 #877129 #298771
tetradic
#712987 #874229 #3F8729 #296E87
square
#712987 #874229 #3F8729 #296E87
split-complementary
#712987 #6E8729 #298742
monochromatic
#220C29 #4A1B58 #712987 #9837B6 #B35DCE

Accessibility & contrast

On white

8.86
#712987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#712987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712987
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712987#FFFFFF#000000##FFFFFF
##7129871.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #712987;
/* rgb */ color: rgb(113, 41, 135);
/* oklch */ color: oklch(42.9% 0.159 317.3);
Tailwind
colors: {
  custom: {
    50: '#9d69aa',
    500: '#712987',
    950: '#000000',
  },
}
SCSS
$custom: #712987;
$custom-light: #9d69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#712987",
  "rgb": {
    "r": 113,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 285.957,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4292,
    "c": 0.15851,
    "h": 317.3
  },
  "luminance": 0.06846
}

Semantic roles & 50–950 ramp

primary
#712987
secondary
#6EB359
accent
#DD4B6D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712987

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

Preview Lab → · Contrast checker → · Palette generator →

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