#712C85#712C85

#712C85 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.152 H 317.8°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#712C85
RGBrgb(113, 44, 133)
HSLhsl(287, 50%, 35%)
HSVhsv(287, 67%, 52%)
CMYKcmyk(15%, 66.9%, 0%, 47.8%)
CIE-LABlab(31.82, 44.32, -36.50)
CIE-LCHlch(31.82, 57.42, 320.52°)
OKLaboklab(43.14% 0.1129 -0.1022)
OKLCHoklch(43.14% 0.152 317.8)
XYZxyz(11.9438, 7.0060, 22.9089)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712C85 #40852C
analogous
#452C85 #712C85 #852C6C
triadic
#712C85 #85712C #2C8571
tetradic
#712C85 #85452C #40852C #2C6C85
square
#712C85 #85452C #40852C #2C6C85
split-complementary
#712C85 #6C852C #2C8545
monochromatic
#230E29 #4A1D57 #712C85 #983BB3 #B361CB

Accessibility & contrast

On white

8.75
#712C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#712C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712C85
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712C85#FFFFFF#000000##FFFFFF
##712C851.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4688
Deuteranopia (green-blind)
#2F4D83
Tritanopia (blue-blind)
#703C54
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #712c85;
/* rgb */ color: rgb(113, 44, 133);
/* oklch */ color: oklch(43.1% 0.152 317.8);
Tailwind
colors: {
  custom: {
    50: '#9d6aa9',
    500: '#712c85',
    950: '#000000',
  },
}
SCSS
$custom: #712c85;
$custom-light: #9d6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#712c85",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 286.517,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43142,
    "c": 0.15232,
    "h": 317.8
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#712C85
secondary
#6FB15C
accent
#DA4E6D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712C85

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

Preview Lab → · Contrast checker → · Palette generator →

#712C85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva