#712884#712884

#712884 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.6% C 0.157 H 318.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#712884
RGBrgb(113, 40, 132)
HSLhsl(288, 53%, 34%)
HSVhsv(288, 70%, 52%)
CMYKcmyk(14.4%, 69.7%, 0%, 48.2%)
CIE-LABlab(31.10, 45.93, -37.03)
CIE-LCHlch(31.10, 59.00, 321.13°)
OKLaboklab(42.61% 0.1177 -0.1037)
OKLCHoklch(42.61% 0.157 318.6)
XYZxyz(11.7331, 6.6948, 22.4995)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712884 #3B8428
analogous
#432884 #712884 #842869
triadic
#712884 #847128 #288471
tetradic
#712884 #844328 #3B8428 #286984
square
#712884 #844328 #3B8428 #286984
split-complementary
#712884 #698428 #288443
monochromatic
#210C26 #491A55 #712884 #9936B3 #B55ACD

Accessibility & contrast

On white

8.98
#712884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#712884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712884
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712884#FFFFFF#000000##FFFFFF
##7128841.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014487
Deuteranopia (green-blind)
#2D4C82
Tritanopia (blue-blind)
#713953
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #712884;
/* rgb */ color: rgb(113, 40, 132);
/* oklch */ color: oklch(42.6% 0.157 318.6);
Tailwind
colors: {
  custom: {
    50: '#9d68a8',
    500: '#712884',
    950: '#000000',
  },
}
SCSS
$custom: #712884;
$custom-light: #9d68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#712884",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 287.609,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42605,
    "c": 0.15693,
    "h": 318.6
  },
  "luminance": 0.06694
}

Semantic roles & 50–950 ramp

primary
#712884
secondary
#69B256
accent
#DD4B69
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #712884

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

Preview Lab → · Contrast checker → · Palette generator →

#712884 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva