#712A8B#712A8B

#712A8B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.161 H 315.5°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#712A8B
RGBrgb(113, 42, 139)
HSLhsl(284, 54%, 35%)
HSVhsv(284, 70%, 55%)
CMYKcmyk(18.7%, 69.8%, 0%, 45.5%)
CIE-LABlab(31.88, 46.52, -40.13)
CIE-LCHlch(31.88, 61.44, 319.21°)
OKLaboklab(43.31% 0.115 -0.1128)
OKLCHoklch(43.31% 0.161 315.5)
XYZxyz(12.2975, 7.0312, 25.1305)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A8B #448B2A
analogous
#412A8B #712A8B #8B2A74
triadic
#712A8B #8B712A #2A8B71
tetradic
#712A8B #8B412A #448B2A #2A748B
square
#712A8B #8B412A #448B2A #2A748B
split-complementary
#712A8B #748B2A #2A8B41
monochromatic
#250E2D #4B1C5C #712A8B #9738BA #B160CF

Accessibility & contrast

On white

8.73
#712A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712A8B
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A8B#FFFFFF#000000##FFFFFF
##712A8B1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#294D89
Tritanopia (blue-blind)
#6F3D57
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #712a8b;
/* rgb */ color: rgb(113, 42, 139);
/* oklch */ color: oklch(43.3% 0.161 315.5);
Tailwind
colors: {
  custom: {
    50: '#9d6aad',
    500: '#712a8b',
    950: '#000000',
  },
}
SCSS
$custom: #712a8b;
$custom-light: #9d6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#712a8b",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 283.918,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43308,
    "c": 0.16113,
    "h": 315.5
  },
  "luminance": 0.07031
}

Semantic roles & 50–950 ramp

primary
#712A8B
secondary
#74B55C
accent
#DD4B72
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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