#78477B#78477B

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

Color values

HEX#78477B
RGBrgb(120, 71, 123)
HSLhsl(297, 27%, 38%)
HSVhsv(297, 42%, 48%)
CMYKcmyk(2.4%, 42.3%, 0%, 51.8%)
CIE-LABlab(37.72, 29.81, -20.95)
CIE-LCHlch(37.72, 36.44, 324.90°)
OKLaboklab(47.52% 0.0817 -0.0573)
OKLCHoklch(47.52% 0.1 324.9)
XYZxyz(13.5738, 9.9302, 19.9368)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78477B #4A7B47
analogous
#5E477B #78477B #7B4764
triadic
#78477B #7B7847 #477B78
tetradic
#78477B #7B5E47 #4A7B47 #47647B
square
#78477B #7B5E47 #4A7B47 #47647B
split-complementary
#78477B #647B47 #477B5E
monochromatic
#2C1A2D #523154 #78477B #9E5DA2 #B584B8

Accessibility & contrast

On white

7.03
#78477B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78477B
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78477B#FFFFFF#000000##FFFFFF
##78477B1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78477b;
/* rgb */ color: rgb(120, 71, 123);
/* oklch */ color: oklch(47.5% 0.100 324.9);
Tailwind
colors: {
  custom: {
    50: '#a07ba1',
    500: '#78477b',
    950: '#000000',
  },
}
SCSS
$custom: #78477b;
$custom-light: #a07ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#78477b",
  "rgb": {
    "r": 120,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 296.538,
    "s": 26.804,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47517,
    "c": 0.09976,
    "h": 324.9
  },
  "luminance": 0.0993
}

Semantic roles & 50–950 ramp

primary
#78477B
secondary
#7CA47A
accent
#C3656A
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0F090F
muted
#7E7B7E

Preview Lab

Preview with #78477B

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

Preview Lab → · Contrast checker → · Palette generator →

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