#712B87#712B87

#712B87 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.156 H 317.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#712B87
RGBrgb(113, 43, 135)
HSLhsl(286, 52%, 35%)
HSVhsv(286, 68%, 53%)
CMYKcmyk(16.3%, 68.1%, 0%, 47.1%)
CIE-LABlab(31.78, 45.21, -37.81)
CIE-LCHlch(31.78, 58.94, 320.09°)
OKLaboklab(43.15% 0.1141 -0.106)
OKLCHoklch(43.15% 0.156 317.1)
XYZxyz(12.0465, 6.9882, 23.6313)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712B87 #41872B
analogous
#432B87 #712B87 #872B6F
triadic
#712B87 #87712B #2B8771
tetradic
#712B87 #87432B #41872B #2B6F87
square
#712B87 #87432B #41872B #2B6F87
split-complementary
#712B87 #6F872B #2B8743
monochromatic
#230D2A #4A1C59 #712B87 #983AB5 #B260CC

Accessibility & contrast

On white

8.76
#712B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712B87
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712B87#FFFFFF#000000##FFFFFF
##712B871.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03468A
Deuteranopia (green-blind)
#2D4D85
Tritanopia (blue-blind)
#703C55
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #712b87;
/* rgb */ color: rgb(113, 43, 135);
/* oklch */ color: oklch(43.2% 0.156 317.1);
Tailwind
colors: {
  custom: {
    50: '#9d6aaa',
    500: '#712b87',
    950: '#000000',
  },
}
SCSS
$custom: #712b87;
$custom-light: #9d6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#712b87",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 285.652,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43154,
    "c": 0.15575,
    "h": 317.1
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#712B87
secondary
#70B25B
accent
#DB4D6F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712B87

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

Preview Lab → · Contrast checker → · Palette generator →

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