#704D78#704D78

#704D78 is a mid, moderate purple. Relative luminance 0.101; OKLCH L 47.5% C 0.079 H 320.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#704D78
RGBrgb(112, 77, 120)
HSLhsl(289, 22%, 39%)
HSVhsv(289, 36%, 47%)
CMYKcmyk(6.7%, 35.8%, 0%, 52.9%)
CIE-LABlab(38.04, 22.87, -18.69)
CIE-LCHlch(38.04, 29.53, 320.75°)
OKLaboklab(47.5% 0.0609 -0.0511)
OKLCHoklch(47.5% 0.079 320)
XYZxyz(12.7257, 10.1089, 19.0465)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704D78 #55784D
analogous
#5A4D78 #704D78 #784D6A
triadic
#704D78 #78704D #4D7870
tetradic
#704D78 #785A4D #55784D #4D6A78
square
#704D78 #785A4D #55784D #4D6A78
split-complementary
#704D78 #6A784D #4D785A
monochromatic
#2A1D2D #4D3553 #704D78 #92669D #AD8BB5

Accessibility & contrast

On white

6.95
#704D78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#704D78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704D78
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704D78#FFFFFF#000000##FFFFFF
##704D781.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48577A
Deuteranopia (green-blind)
#505B77
Tritanopia (blue-blind)
#71525D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #704d78;
/* rgb */ color: rgb(112, 77, 120);
/* oklch */ color: oklch(47.5% 0.079 320.0);
Tailwind
colors: {
  custom: {
    50: '#9a7f9f',
    500: '#704d78',
    950: '#000000',
  },
}
SCSS
$custom: #704d78;
$custom-light: #9a7f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#704d78",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 120
  },
  "hsl": {
    "h": 288.837,
    "s": 21.827,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47497,
    "c": 0.07944,
    "h": 320
  },
  "luminance": 0.10109
}

Semantic roles & 50–950 ramp

primary
#704D78
secondary
#86A180
accent
#BE6979
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0E0A0E
muted
#7E7C7E

Preview Lab

Preview with #704D78

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

Preview Lab → · Contrast checker → · Palette generator →

#704D78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva