#712C87#712C87

#712C87 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.154 H 317.0°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#712C87
RGBrgb(113, 44, 135)
HSLhsl(285, 51%, 35%)
HSVhsv(285, 67%, 53%)
CMYKcmyk(16.3%, 67.4%, 0%, 47.1%)
CIE-LABlab(31.95, 44.74, -37.54)
CIE-LCHlch(31.95, 58.41, 320.00°)
OKLaboklab(43.27% 0.1129 -0.1053)
OKLCHoklch(43.27% 0.154 317)
XYZxyz(12.0833, 7.0618, 23.6435)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712C87 #42872C
analogous
#442C87 #712C87 #872C6F
triadic
#712C87 #87712C #2C8771
tetradic
#712C87 #87442C #42872C #2C6F87
square
#712C87 #87442C #42872C #2C6F87
split-complementary
#712C87 #6F872C #2C8744
monochromatic
#240E2B #4A1D59 #712C87 #983BB5 #B262CC

Accessibility & contrast

On white

8.71
#712C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#712C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712C87
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712C87#FFFFFF#000000##FFFFFF
##712C871.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07478A
Deuteranopia (green-blind)
#2E4D85
Tritanopia (blue-blind)
#703D55
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #712c87;
/* rgb */ color: rgb(113, 44, 135);
/* oklch */ color: oklch(43.3% 0.154 317.0);
Tailwind
colors: {
  custom: {
    50: '#9d6baa',
    500: '#712c87',
    950: '#000000',
  },
}
SCSS
$custom: #712c87;
$custom-light: #9d6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#712c87",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 285.495,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43274,
    "c": 0.15434,
    "h": 317
  },
  "luminance": 0.07061
}

Semantic roles & 50–950 ramp

primary
#712C87
secondary
#71B25D
accent
#DA4D70
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712C87

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

Preview Lab → · Contrast checker → · Palette generator →

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