#712784#712784

#712784 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.158 H 318.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#712784
RGBrgb(113, 39, 132)
HSLhsl(288, 54%, 34%)
HSVhsv(288, 70%, 52%)
CMYKcmyk(14.4%, 70.5%, 0%, 48.2%)
CIE-LABlab(30.95, 46.37, -37.28)
CIE-LCHlch(30.95, 59.50, 321.20°)
OKLaboklab(42.49% 0.1189 -0.1045)
OKLCHoklch(42.49% 0.158 318.7)
XYZxyz(11.6999, 6.6282, 22.4884)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712784 #3A8427
analogous
#422784 #712784 #842768
triadic
#712784 #847127 #278471
tetradic
#712784 #844227 #3A8427 #276884
square
#712784 #844227 #3A8427 #276884
split-complementary
#712784 #688427 #278442
monochromatic
#200B26 #491955 #712784 #9935B3 #B658CE

Accessibility & contrast

On white

9.03
#712784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712784
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712784#FFFFFF#000000##FFFFFF
##7127841.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#2C4B82
Tritanopia (blue-blind)
#713852
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #712784;
/* rgb */ color: rgb(113, 39, 132);
/* oklch */ color: oklch(42.5% 0.158 318.7);
Tailwind
colors: {
  custom: {
    50: '#9d68a8',
    500: '#712784',
    950: '#000000',
  },
}
SCSS
$custom: #712784;
$custom-light: #9d68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#712784",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 132
  },
  "hsl": {
    "h": 287.742,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42492,
    "c": 0.15828,
    "h": 318.7
  },
  "luminance": 0.06628
}

Semantic roles & 50–950 ramp

primary
#712784
secondary
#68B254
accent
#DE4A68
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #712784

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

Preview Lab → · Contrast checker → · Palette generator →

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