#704F78#704F78

#704F78 is a mid, moderate purple. Relative luminance 0.104; OKLCH L 47.9% C 0.076 H 319.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#704F78
RGBrgb(112, 79, 120)
HSLhsl(288, 21%, 39%)
HSVhsv(288, 34%, 47%)
CMYKcmyk(6.7%, 34.2%, 0%, 52.9%)
CIE-LABlab(38.54, 21.66, -17.91)
CIE-LCHlch(38.54, 28.11, 320.41°)
OKLaboklab(47.88% 0.0575 -0.0489)
OKLCHoklch(47.88% 0.076 319.6)
XYZxyz(12.8678, 10.3931, 19.0939)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704F78 #57784F
analogous
#5C4F78 #704F78 #784F6C
triadic
#704F78 #78704F #4F7870
tetradic
#704F78 #785C4F #57784F #4F6C78
square
#704F78 #785C4F #57784F #4F6C78
split-complementary
#704F78 #6C784F #4F785C
monochromatic
#2B1E2E #4E3753 #704F78 #92689C #AD8DB4

Accessibility & contrast

On white

6.82
#704F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#704F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704F78
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704F78#FFFFFF#000000##FFFFFF
##704F781.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A587A
Deuteranopia (green-blind)
#525C77
Tritanopia (blue-blind)
#71545E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #704f78;
/* rgb */ color: rgb(112, 79, 120);
/* oklch */ color: oklch(47.9% 0.076 319.6);
Tailwind
colors: {
  custom: {
    50: '#99819f',
    500: '#704f78',
    950: '#000000',
  },
}
SCSS
$custom: #704f78;
$custom-light: #99819f;
$custom-dark: #000000;
JSON
{
  "hex": "#704f78",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 120
  },
  "hsl": {
    "h": 288.293,
    "s": 20.603,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47877,
    "c": 0.07551,
    "h": 319.6
  },
  "luminance": 0.10393
}

Semantic roles & 50–950 ramp

primary
#704F78
secondary
#88A182
accent
#BD6B7B
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0E0A0E
muted
#7E7C7E

Preview Lab

Preview with #704F78

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

Preview Lab → · Contrast checker → · Palette generator →

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