#78507A#78507A

#78507A is a mid, moderate purple. Relative luminance 0.111; OKLCH L 49.1% C 0.081 H 325.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#78507A
RGBrgb(120, 80, 122)
HSLhsl(297, 21%, 40%)
HSVhsv(297, 34%, 48%)
CMYKcmyk(1.6%, 34.4%, 0%, 52.2%)
CIE-LABlab(39.81, 24.30, -17.11)
CIE-LCHlch(39.81, 29.72, 324.84°)
OKLaboklab(49.08% 0.0667 -0.0465)
OKLCHoklch(49.08% 0.081 325.1)
XYZxyz(14.1269, 11.1360, 19.8139)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78507A #527A50
analogous
#63507A #78507A #7A5067
triadic
#78507A #7A7850 #507A78
tetradic
#78507A #7A6350 #527A50 #50677A
square
#78507A #7A6350 #527A50 #50677A
split-complementary
#78507A #677A50 #507A63
monochromatic
#2F2030 #543855 #78507A #9B6A9D #B48FB5

Accessibility & contrast

On white

6.51
#78507A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#78507A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78507A
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78507A#FFFFFF#000000##FFFFFF
##78507A1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5B7C
Deuteranopia (green-blind)
#566079
Tritanopia (blue-blind)
#7A545F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #78507a;
/* rgb */ color: rgb(120, 80, 122);
/* oklch */ color: oklch(49.1% 0.081 325.1);
Tailwind
colors: {
  custom: {
    50: '#a082a0',
    500: '#78507a',
    950: '#000000',
  },
}
SCSS
$custom: #78507a;
$custom-light: #a082a0;
$custom-dark: #000000;
JSON
{
  "hex": "#78507a",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 297.143,
    "s": 20.792,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49079,
    "c": 0.08128,
    "h": 325.1
  },
  "luminance": 0.11136
}

Semantic roles & 50–950 ramp

primary
#78507A
secondary
#85A383
accent
#BD6A6E
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0F0A0E
muted
#7E7C7E

Preview Lab

Preview with #78507A

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

Preview Lab → · Contrast checker → · Palette generator →

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