#712687#712687

#712687 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.162 H 317.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#712687
RGBrgb(113, 38, 135)
HSLhsl(286, 56%, 34%)
HSVhsv(286, 72%, 53%)
CMYKcmyk(16.3%, 71.9%, 0%, 47.1%)
CIE-LABlab(30.99, 47.43, -39.08)
CIE-LCHlch(30.99, 61.45, 320.51°)
OKLaboklab(42.59% 0.1198 -0.1097)
OKLCHoklch(42.59% 0.162 317.5)
XYZxyz(11.8757, 6.6467, 23.5744)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712687 #3C8726
analogous
#412687 #712687 #87266D
triadic
#712687 #877126 #268771
tetradic
#712687 #874126 #3C8726 #266D87
square
#712687 #874126 #3C8726 #266D87
split-complementary
#712687 #6D8726 #268741
monochromatic
#210B27 #491957 #712687 #9933B7 #B558D0

Accessibility & contrast

On white

9.02
#712687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#712687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712687
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712687#FFFFFF#000000##FFFFFF
##7126871.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#294B85
Tritanopia (blue-blind)
#703954
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #712687;
/* rgb */ color: rgb(113, 38, 135);
/* oklch */ color: oklch(42.6% 0.162 317.5);
Tailwind
colors: {
  custom: {
    50: '#9d67aa',
    500: '#712687',
    950: '#000000',
  },
}
SCSS
$custom: #712687;
$custom-light: #9d67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#712687",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 286.392,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42587,
    "c": 0.16248,
    "h": 317.5
  },
  "luminance": 0.06646
}

Semantic roles & 50–950 ramp

primary
#712687
secondary
#6AB554
accent
#DF486B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #712687

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

Preview Lab → · Contrast checker → · Palette generator →

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