#78427F#78427F

#78427F is a mid, moderate purple. Relative luminance 0.094; OKLCH L 46.9% C 0.113 H 322.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#78427F
RGBrgb(120, 66, 127)
HSLhsl(293, 32%, 38%)
HSVhsv(293, 48%, 50%)
CMYKcmyk(5.5%, 48%, 0%, 50.2%)
CIE-LABlab(36.79, 33.51, -24.88)
CIE-LCHlch(36.79, 41.73, 323.41°)
OKLaboklab(46.88% 0.0904 -0.0685)
OKLCHoklch(46.88% 0.113 322.9)
XYZxyz(13.5243, 9.4224, 21.1809)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78427F #497F42
analogous
#59427F #78427F #7F4267
triadic
#78427F #7F7842 #427F78
tetradic
#78427F #7F5942 #497F42 #42677F
square
#78427F #7F5942 #497F42 #42677F
split-complementary
#78427F #677F42 #427F59
monochromatic
#2C182E #522D57 #78427F #9E57A7 #B57FBC

Accessibility & contrast

On white

7.28
#78427F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#78427F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78427F
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78427F#FFFFFF#000000##FFFFFF
##78427F1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5281
Deuteranopia (green-blind)
#49597D
Tritanopia (blue-blind)
#7A495A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #78427f;
/* rgb */ color: rgb(120, 66, 127);
/* oklch */ color: oklch(46.9% 0.113 322.9);
Tailwind
colors: {
  custom: {
    50: '#a078a4',
    500: '#78427f',
    950: '#000000',
  },
}
SCSS
$custom: #78427f;
$custom-light: #a078a4;
$custom-dark: #000000;
JSON
{
  "hex": "#78427f",
  "rgb": {
    "r": 120,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 293.115,
    "s": 31.606,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46883,
    "c": 0.11341,
    "h": 322.9
  },
  "luminance": 0.09422
}

Semantic roles & 50–950 ramp

primary
#78427F
secondary
#7BA775
accent
#C8606C
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #78427F

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

Preview Lab → · Contrast checker → · Palette generator →

#78427F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva