#712894#712894

#712894 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.173 H 312.3°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#712894
RGBrgb(113, 40, 148)
HSLhsl(281, 57%, 37%)
HSVhsv(281, 73%, 58%)
CMYKcmyk(23.6%, 73%, 0%, 42%)
CIE-LABlab(32.18, 49.35, -45.18)
CIE-LCHlch(32.18, 66.91, 317.53°)
OKLaboklab(43.72% 0.1163 -0.1276)
OKLCHoklch(43.72% 0.173 312.3)
XYZxyz(12.9132, 7.1668, 28.7143)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712894 #4B9428
analogous
#3B2894 #712894 #942881
triadic
#712894 #947128 #289471
tetradic
#712894 #943B28 #4B9428 #288194
square
#712894 #943B28 #4B9428 #288194
split-complementary
#712894 #819428 #28943B
monochromatic
#270E34 #4C1B64 #712894 #9635C4 #AF62D5

Accessibility & contrast

On white

8.63
#712894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#712894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712894
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712894#FFFFFF#000000##FFFFFF
##7128941.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#1C4D92
Tritanopia (blue-blind)
#6D405B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712894;
/* rgb */ color: rgb(113, 40, 148);
/* oklch */ color: oklch(43.7% 0.173 312.3);
Tailwind
colors: {
  custom: {
    50: '#9e69b4',
    500: '#712894',
    950: '#000000',
  },
}
SCSS
$custom: #712894;
$custom-light: #9e69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#712894",
  "rgb": {
    "r": 113,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 280.556,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43723,
    "c": 0.17269,
    "h": 312.3
  },
  "luminance": 0.07166
}

Semantic roles & 50–950 ramp

primary
#712894
secondary
#7CBA5E
accent
#E14779
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712894

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

Preview Lab → · Contrast checker → · Palette generator →

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