#78478D#78478D

#78478D is a mid, vivid purple. Relative luminance 0.104; OKLCH L 48.5% C 0.120 H 315.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#78478D
RGBrgb(120, 71, 141)
HSLhsl(282, 33%, 42%)
HSVhsv(282, 50%, 55%)
CMYKcmyk(14.9%, 49.6%, 0%, 44.7%)
CIE-LABlab(38.59, 33.72, -30.63)
CIE-LCHlch(38.59, 45.56, 317.75°)
OKLaboklab(48.46% 0.085 -0.0851)
OKLCHoklch(48.46% 0.12 315)
XYZxyz(14.8059, 10.4230, 26.4260)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78478D #5C8D47
analogous
#55478D #78478D #8D477F
triadic
#78478D #8D7847 #478D78
tetradic
#78478D #8D5547 #5C8D47 #477F8D
square
#78478D #8D5547 #5C8D47 #477F8D
split-complementary
#78478D #7F8D47 #478D55
monochromatic
#331E3C #553364 #78478D #9862B0 #B38AC4

Accessibility & contrast

On white

6.81
#78478D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#78478D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78478D
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78478D#FFFFFF#000000##FFFFFF
##78478D1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588F
Deuteranopia (green-blind)
#475C8B
Tritanopia (blue-blind)
#775163
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #78478d;
/* rgb */ color: rgb(120, 71, 141);
/* oklch */ color: oklch(48.5% 0.120 315.0);
Tailwind
colors: {
  custom: {
    50: '#a07cae',
    500: '#78478d',
    950: '#000000',
  },
}
SCSS
$custom: #78478d;
$custom-light: #a07cae;
$custom-dark: #000000;
JSON
{
  "hex": "#78478d",
  "rgb": {
    "r": 120,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 282,
    "s": 33.019,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48456,
    "c": 0.12032,
    "h": 315
  },
  "luminance": 0.10423
}

Semantic roles & 50–950 ramp

primary
#78478D
secondary
#8EB080
accent
#C95F7F
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #78478D

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

Preview Lab → · Contrast checker → · Palette generator →

#78478D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva