#712C8B#712C8B

#712C8B is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.5% C 0.158 H 315.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#712C8B
RGBrgb(113, 44, 139)
HSLhsl(284, 52%, 36%)
HSVhsv(284, 68%, 55%)
CMYKcmyk(18.7%, 68.3%, 0%, 45.5%)
CIE-LABlab(32.21, 45.60, -39.61)
CIE-LCHlch(32.21, 60.40, 319.03°)
OKLaboklab(43.54% 0.1127 -0.1113)
OKLCHoklch(43.54% 0.158 315.3)
XYZxyz(12.3702, 7.1766, 25.1547)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712C8B #468B2C
analogous
#412C8B #712C8B #8B2C75
triadic
#712C8B #8B712C #2C8B71
tetradic
#712C8B #8B412C #468B2C #2C758B
square
#712C8B #8B412C #468B2C #2C758B
split-complementary
#712C8B #758B2C #2C8B41
monochromatic
#250F2E #4B1D5D #712C8B #973BB9 #B164CE

Accessibility & contrast

On white

8.62
#712C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712C8B
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712C8B#FFFFFF#000000##FFFFFF
##712C8B1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#2A4E89
Tritanopia (blue-blind)
#6F3E58
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712c8b;
/* rgb */ color: rgb(113, 44, 139);
/* oklch */ color: oklch(43.5% 0.158 315.3);
Tailwind
colors: {
  custom: {
    50: '#9d6bad',
    500: '#712c8b',
    950: '#000000',
  },
}
SCSS
$custom: #712c8b;
$custom-light: #9d6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#712c8b",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 283.579,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43543,
    "c": 0.15839,
    "h": 315.3
  },
  "luminance": 0.07176
}

Semantic roles & 50–950 ramp

primary
#712C8B
secondary
#76B45F
accent
#DB4C74
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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