#78487B#78487B

#78487B is a mid, moderate purple. Relative luminance 0.101; OKLCH L 47.7% C 0.098 H 324.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#78487B
RGBrgb(120, 72, 123)
HSLhsl(296, 26%, 38%)
HSVhsv(296, 41%, 48%)
CMYKcmyk(2.4%, 41.5%, 0%, 51.8%)
CIE-LABlab(37.95, 29.23, -20.60)
CIE-LCHlch(37.95, 35.76, 324.83°)
OKLaboklab(47.69% 0.08 -0.0563)
OKLCHoklch(47.69% 0.098 324.9)
XYZxyz(13.6379, 10.0584, 19.9581)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78487B #4B7B48
analogous
#5E487B #78487B #7B4864
triadic
#78487B #7B7848 #487B78
tetradic
#78487B #7B5E48 #4B7B48 #48647B
square
#78487B #7B5E48 #4B7B48 #48647B
split-complementary
#78487B #647B48 #487B5E
monochromatic
#2D1B2E #523154 #78487B #9D5FA1 #B586B8

Accessibility & contrast

On white

6.97
#78487B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#78487B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78487B
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78487B#FFFFFF#000000##FFFFFF
##78487B1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43567D
Deuteranopia (green-blind)
#505B79
Tritanopia (blue-blind)
#7A4D5C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #78487b;
/* rgb */ color: rgb(120, 72, 123);
/* oklch */ color: oklch(47.7% 0.098 324.9);
Tailwind
colors: {
  custom: {
    50: '#a07ca1',
    500: '#78487b',
    950: '#000000',
  },
}
SCSS
$custom: #78487b;
$custom-light: #a07ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#78487b",
  "rgb": {
    "r": 120,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 296.471,
    "s": 26.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4769,
    "c": 0.09786,
    "h": 324.9
  },
  "luminance": 0.10058
}

Semantic roles & 50–950 ramp

primary
#78487B
secondary
#7DA47B
accent
#C3656B
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0F090F
muted
#7E7B7E

Preview Lab

Preview with #78487B

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

Preview Lab → · Contrast checker → · Palette generator →

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