#78477A#78477A

#78477A is a mid, moderate purple. Relative luminance 0.099; OKLCH L 47.5% C 0.099 H 325.6°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#78477A
RGBrgb(120, 71, 122)
HSLhsl(298, 26%, 38%)
HSVhsv(298, 42%, 48%)
CMYKcmyk(1.6%, 41.8%, 0%, 52.2%)
CIE-LABlab(37.67, 29.61, -20.41)
CIE-LCHlch(37.67, 35.96, 325.42°)
OKLaboklab(47.47% 0.0814 -0.0557)
OKLCHoklch(47.47% 0.099 325.6)
XYZxyz(13.5115, 9.9053, 19.6088)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78477A #497A47
analogous
#5E477A #78477A #7A4762
triadic
#78477A #7A7847 #477A78
tetradic
#78477A #7A5E47 #497A47 #47627A
square
#78477A #7A5E47 #497A47 #47627A
split-complementary
#78477A #627A47 #477A5E
monochromatic
#2C1A2D #523053 #78477A #9E5EA1 #B584B7

Accessibility & contrast

On white

7.04
#78477A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#78477A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78477A
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78477A#FFFFFF#000000##FFFFFF
##78477A1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42557C
Deuteranopia (green-blind)
#4F5B78
Tritanopia (blue-blind)
#7A4C5B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #78477a;
/* rgb */ color: rgb(120, 71, 122);
/* oklch */ color: oklch(47.5% 0.099 325.6);
Tailwind
colors: {
  custom: {
    50: '#a07ba0',
    500: '#78477a',
    950: '#000000',
  },
}
SCSS
$custom: #78477a;
$custom-light: #a07ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#78477a",
  "rgb": {
    "r": 120,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 297.647,
    "s": 26.425,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47469,
    "c": 0.09868,
    "h": 325.6
  },
  "luminance": 0.09905
}

Semantic roles & 50–950 ramp

primary
#78477A
secondary
#7BA37A
accent
#C36569
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0F090E
muted
#7E7B7E

Preview Lab

Preview with #78477A

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

Preview Lab → · Contrast checker → · Palette generator →

#78477A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva