#712678#712678

#712678 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.6% C 0.148 H 324.2°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#712678
RGBrgb(113, 38, 120)
HSLhsl(295, 52%, 31%)
HSVhsv(295, 68%, 47%)
CMYKcmyk(5.8%, 68.3%, 0%, 52.9%)
CIE-LABlab(30.04, 44.41, -31.19)
CIE-LCHlch(30.04, 54.26, 324.92°)
OKLaboklab(41.6% 0.1203 -0.0867)
OKLCHoklch(41.6% 0.148 324.2)
XYZxyz(10.8930, 6.2536, 18.3990)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712678 #2D7826
analogous
#482678 #712678 #782656
triadic
#712678 #787126 #267871
tetradic
#712678 #784826 #2D7826 #265678
square
#712678 #784826 #2D7826 #265678
split-complementary
#712678 #567826 #267848
monochromatic
#19091B #45174A #712678 #9D35A6 #BE51C8

Accessibility & contrast

On white

9.33
#712678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#712678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712678
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712678#FFFFFF#000000##FFFFFF
##7126781.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14417A
Deuteranopia (green-blind)
#344A76
Tritanopia (blue-blind)
#73334B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #712678;
/* rgb */ color: rgb(113, 38, 120);
/* oklch */ color: oklch(41.6% 0.148 324.2);
Tailwind
colors: {
  custom: {
    50: '#9d679f',
    500: '#712678',
    950: '#000000',
  },
}
SCSS
$custom: #712678;
$custom-light: #9d679f;
$custom-dark: #000000;
JSON
{
  "hex": "#712678",
  "rgb": {
    "r": 113,
    "g": 38,
    "b": 120
  },
  "hsl": {
    "h": 294.878,
    "s": 51.899,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41604,
    "c": 0.14827,
    "h": 324.2
  },
  "luminance": 0.06253
}

Semantic roles & 50–950 ramp

primary
#712678
secondary
#57AA50
accent
#DB4C59
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #712678

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

Preview Lab → · Contrast checker → · Palette generator →

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