#78477C#78477C

#78477C is a mid, moderate purple. Relative luminance 0.100; OKLCH L 47.6% C 0.101 H 324.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#78477C
RGBrgb(120, 71, 124)
HSLhsl(295, 27%, 38%)
HSVhsv(295, 43%, 49%)
CMYKcmyk(3.2%, 42.7%, 0%, 51.4%)
CIE-LABlab(37.76, 30.02, -21.50)
CIE-LCHlch(37.76, 36.93, 324.39°)
OKLaboklab(47.57% 0.0819 -0.0589)
OKLCHoklch(47.57% 0.101 324.3)
XYZxyz(13.6367, 9.9553, 20.2681)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78477C #4B7C47
analogous
#5D477C #78477C #7C4765
triadic
#78477C #7C7847 #477C78
tetradic
#78477C #7C5D47 #4B7C47 #47657C
square
#78477C #7C5D47 #4B7C47 #47657C
split-complementary
#78477C #657C47 #477C5D
monochromatic
#2D1A2E #523155 #78477C #9D5EA3 #B585B9

Accessibility & contrast

On white

7.02
#78477C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#78477C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78477C
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78477C#FFFFFF#000000##FFFFFF
##78477C1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557E
Deuteranopia (green-blind)
#4F5B7A
Tritanopia (blue-blind)
#7A4D5B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #78477c;
/* rgb */ color: rgb(120, 71, 124);
/* oklch */ color: oklch(47.6% 0.101 324.3);
Tailwind
colors: {
  custom: {
    50: '#a07ba2',
    500: '#78477c',
    950: '#000000',
  },
}
SCSS
$custom: #78477c;
$custom-light: #a07ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#78477c",
  "rgb": {
    "r": 120,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 295.472,
    "s": 27.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47566,
    "c": 0.10085,
    "h": 324.3
  },
  "luminance": 0.09955
}

Semantic roles & 50–950 ramp

primary
#78477C
secondary
#7DA57A
accent
#C4646B
background
#F9F7FA
surface
#F2EEF3
border
#CCC9CD
text
#0F090F
muted
#7E7B7F

Preview Lab

Preview with #78477C

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

Preview Lab → · Contrast checker → · Palette generator →

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