#712B82#712B82

#712B82 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.8% C 0.151 H 319.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#712B82
RGBrgb(113, 43, 130)
HSLhsl(288, 50%, 34%)
HSVhsv(288, 67%, 51%)
CMYKcmyk(13.1%, 66.9%, 0%, 49%)
CIE-LABlab(31.46, 44.16, -35.20)
CIE-LCHlch(31.46, 56.47, 321.44°)
OKLaboklab(42.83% 0.1142 -0.0984)
OKLCHoklch(42.83% 0.151 319.2)
XYZxyz(11.7027, 6.8507, 21.8206)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712B82 #3C822B
analogous
#462B82 #712B82 #822B68
triadic
#712B82 #82712B #2B8271
tetradic
#712B82 #82462B #3C822B #2B6882
square
#712B82 #82462B #3C822B #2B6882
split-complementary
#712B82 #68822B #2B8246
monochromatic
#210D26 #491C54 #712B82 #993AB0 #B55ECA

Accessibility & contrast

On white

8.86
#712B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#712B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712B82
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712B82#FFFFFF#000000##FFFFFF
##712B821.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4585
Deuteranopia (green-blind)
#314C80
Tritanopia (blue-blind)
#713A52
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712b82;
/* rgb */ color: rgb(113, 43, 130);
/* oklch */ color: oklch(42.8% 0.151 319.2);
Tailwind
colors: {
  custom: {
    50: '#9d6aa7',
    500: '#712b82',
    950: '#000000',
  },
}
SCSS
$custom: #712b82;
$custom-light: #9d6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#712b82",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 288.276,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42825,
    "c": 0.15076,
    "h": 319.2
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#712B82
secondary
#6AB059
accent
#DA4E69
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F070F
muted
#7E7A7F

Preview Lab

Preview with #712B82

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

Preview Lab → · Contrast checker → · Palette generator →

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