#704078#704078

#704078 is a mid, moderate purple. Relative luminance 0.085; OKLCH L 45.2% C 0.104 H 321.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#704078
RGBrgb(112, 64, 120)
HSLhsl(291, 30%, 36%)
HSVhsv(291, 47%, 47%)
CMYKcmyk(6.7%, 46.7%, 0%, 52.9%)
CIE-LABlab(34.94, 30.61, -23.49)
CIE-LCHlch(34.94, 38.58, 322.49°)
OKLaboklab(45.17% 0.0819 -0.0647)
OKLCHoklch(45.17% 0.104 321.7)
XYZxyz(11.9053, 8.4681, 18.7730)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704078 #487840
analogous
#544078 #704078 #784064
triadic
#704078 #787040 #407870
tetradic
#704078 #785440 #487840 #406478
square
#704078 #785440 #487840 #406478
split-complementary
#704078 #647840 #407854
monochromatic
#251528 #4B2B50 #704078 #9555A0 #AF7AB8

Accessibility & contrast

On white

7.80
#704078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#704078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #704078
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704078#FFFFFF#000000##FFFFFF
##7040781.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7A
Deuteranopia (green-blind)
#465476
Tritanopia (blue-blind)
#714756
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #704078;
/* rgb */ color: rgb(112, 64, 120);
/* oklch */ color: oklch(45.2% 0.104 321.7);
Tailwind
colors: {
  custom: {
    50: '#9a769f',
    500: '#704078',
    950: '#000000',
  },
}
SCSS
$custom: #704078;
$custom-light: #9a769f;
$custom-dark: #000000;
JSON
{
  "hex": "#704078",
  "rgb": {
    "r": 112,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 291.429,
    "s": 30.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45167,
    "c": 0.10438,
    "h": 321.7
  },
  "luminance": 0.08468
}

Semantic roles & 50–950 ramp

primary
#704078
secondary
#78A371
accent
#C76170
background
#F9F7F9
surface
#F2EDF2
border
#CCC8CC
text
#0E080E
muted
#7E7B7E

Preview Lab

Preview with #704078

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

Preview Lab → · Contrast checker → · Palette generator →

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