#712B8E#712B8E

#712B8E is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.163 H 314.3°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#712B8E
RGBrgb(113, 43, 142)
HSLhsl(282, 54%, 36%)
HSVhsv(282, 70%, 56%)
CMYKcmyk(20.4%, 69.7%, 0%, 44.3%)
CIE-LABlab(32.24, 46.72, -41.40)
CIE-LCHlch(32.24, 62.42, 318.45°)
OKLaboklab(43.63% 0.1137 -0.1166)
OKLCHoklch(43.63% 0.163 314.3)
XYZxyz(12.5556, 7.1919, 26.3127)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712B8E #488E2B
analogous
#402B8E #712B8E #8E2B7A
triadic
#712B8E #8E712B #2B8E71
tetradic
#712B8E #8E402B #488E2B #2B7A8E
square
#712B8E #8E402B #488E2B #2B7A8E
split-complementary
#712B8E #7A8E2B #2B8E40
monochromatic
#260F30 #4C1D5F #712B8E #9639BD #B063D0

Accessibility & contrast

On white

8.61
#712B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#712B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712B8E
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712B8E#FFFFFF#000000##FFFFFF
##712B8E1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#264E8C
Tritanopia (blue-blind)
#6E3F59
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712b8e;
/* rgb */ color: rgb(113, 43, 142);
/* oklch */ color: oklch(43.6% 0.163 314.3);
Tailwind
colors: {
  custom: {
    50: '#9d6ab0',
    500: '#712b8e',
    950: '#000000',
  },
}
SCSS
$custom: #712b8e;
$custom-light: #9d6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#712b8e",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 282.424,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43631,
    "c": 0.1628,
    "h": 314.3
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#712B8E
secondary
#78B65F
accent
#DD4B76
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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