#78507B#78507B

#78507B is a mid, moderate purple. Relative luminance 0.112; OKLCH L 49.1% C 0.082 H 324.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#78507B
RGBrgb(120, 80, 123)
HSLhsl(296, 21%, 40%)
HSVhsv(296, 35%, 48%)
CMYKcmyk(2.4%, 35%, 0%, 51.8%)
CIE-LABlab(39.85, 24.51, -17.66)
CIE-LCHlch(39.85, 30.21, 324.22°)
OKLaboklab(49.13% 0.067 -0.0481)
OKLCHoklch(49.13% 0.082 324.3)
XYZxyz(14.1892, 11.1609, 20.1419)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78507B #537B50
analogous
#63507B #78507B #7B5069
triadic
#78507B #7B7850 #507B78
tetradic
#78507B #7B6350 #537B50 #50697B
square
#78507B #7B6350 #537B50 #50697B
split-complementary
#78507B #697B50 #507B63
monochromatic
#302031 #543856 #78507B #9B6A9E #B48FB6

Accessibility & contrast

On white

6.50
#78507B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #78507B
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78507B#FFFFFF#000000##FFFFFF
##78507B1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5B7D
Deuteranopia (green-blind)
#56607A
Tritanopia (blue-blind)
#7A5460
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #78507b;
/* rgb */ color: rgb(120, 80, 123);
/* oklch */ color: oklch(49.1% 0.082 324.3);
Tailwind
colors: {
  custom: {
    50: '#a082a1',
    500: '#78507b',
    950: '#000000',
  },
}
SCSS
$custom: #78507b;
$custom-light: #a082a1;
$custom-dark: #000000;
JSON
{
  "hex": "#78507b",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 123
  },
  "hsl": {
    "h": 295.814,
    "s": 21.182,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49125,
    "c": 0.08242,
    "h": 324.3
  },
  "luminance": 0.1116
}

Semantic roles & 50–950 ramp

primary
#78507B
secondary
#86A383
accent
#BE6A70
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0F0A0F
muted
#7E7C7E

Preview Lab

Preview with #78507B

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

Preview Lab → · Contrast checker → · Palette generator →

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