#78327B#78327B

#78327B is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.3% C 0.137 H 326.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#78327B
RGBrgb(120, 50, 123)
HSLhsl(298, 42%, 34%)
HSVhsv(298, 59%, 48%)
CMYKcmyk(2.4%, 59.3%, 0%, 51.8%)
CIE-LABlab(33.36, 41.24, -27.76)
CIE-LCHlch(33.36, 49.71, 326.06°)
OKLaboklab(44.29% 0.1135 -0.0766)
OKLCHoklch(44.29% 0.137 326)
XYZxyz(12.4612, 7.7051, 19.5659)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78327B #357B32
analogous
#54327B #78327B #7B325A
triadic
#78327B #7B7832 #327B78
tetradic
#78327B #7B5432 #357B32 #325A7B
square
#78327B #7B5432 #357B32 #325A7B
split-complementary
#78327B #5A7B32 #327B54
monochromatic
#230F24 #4E204F #78327B #A244A7 #BD66C1

Accessibility & contrast

On white

8.27
#78327B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#78327B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78327B
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78327B#FFFFFF#000000##FFFFFF
##78327B1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497D
Deuteranopia (green-blind)
#405279
Tritanopia (blue-blind)
#7B3B51
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78327b;
/* rgb */ color: rgb(120, 50, 123);
/* oklch */ color: oklch(44.3% 0.137 326.0);
Tailwind
colors: {
  custom: {
    50: '#a16ea1',
    500: '#78327b',
    950: '#000000',
  },
}
SCSS
$custom: #78327b;
$custom-light: #a16ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#78327b",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 297.534,
    "s": 42.197,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44291,
    "c": 0.13694,
    "h": 326
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

primary
#78327B
secondary
#63A960
accent
#D2565B
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #78327B

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

Preview Lab → · Contrast checker → · Palette generator →

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