#712789#712789

#712789 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.163 H 316.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#712789
RGBrgb(113, 39, 137)
HSLhsl(285, 56%, 35%)
HSVhsv(285, 72%, 54%)
CMYKcmyk(17.5%, 71.5%, 0%, 46.3%)
CIE-LABlab(31.27, 47.42, -39.86)
CIE-LCHlch(31.27, 61.95, 319.95°)
OKLaboklab(42.83% 0.1186 -0.112)
OKLCHoklch(42.83% 0.163 316.6)
XYZxyz(12.0502, 6.7684, 24.3337)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712789 #3F8927
analogous
#402789 #712789 #892770
triadic
#712789 #897127 #278971
tetradic
#712789 #894027 #3F8927 #277089
square
#712789 #894027 #3F8927 #277089
split-complementary
#712789 #708927 #278940
monochromatic
#220C2A #4A1959 #712789 #9835B9 #B35AD0

Accessibility & contrast

On white

8.92
#712789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#712789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712789
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712789#FFFFFF#000000##FFFFFF
##7127891.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#284C87
Tritanopia (blue-blind)
#703A55
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712789;
/* rgb */ color: rgb(113, 39, 137);
/* oklch */ color: oklch(42.8% 0.163 316.6);
Tailwind
colors: {
  custom: {
    50: '#9d68ac',
    500: '#712789',
    950: '#000000',
  },
}
SCSS
$custom: #712789;
$custom-light: #9d68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#712789",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 285.306,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42833,
    "c": 0.16312,
    "h": 316.6
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#712789
secondary
#6EB557
accent
#DF496E
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #712789

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

Preview Lab → · Contrast checker → · Palette generator →

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