#78328B#78328B

#78328B is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.2% C 0.153 H 318.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#78328B
RGBrgb(120, 50, 139)
HSLhsl(287, 47%, 37%)
HSVhsv(287, 64%, 55%)
CMYKcmyk(13.7%, 64%, 0%, 45.5%)
CIE-LABlab(34.27, 44.49, -36.25)
CIE-LCHlch(34.27, 57.39, 320.83°)
OKLaboklab(45.25% 0.1144 -0.1013)
OKLCHoklch(45.25% 0.153 318.5)
XYZxyz(13.5459, 8.1389, 25.2785)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78328B #458B32
analogous
#4C328B #78328B #8B3272
triadic
#78328B #8B7832 #328B78
tetradic
#78328B #8B4C32 #458B32 #32728B
square
#78328B #8B4C32 #458B32 #32728B
split-complementary
#78328B #728B32 #328B4C
monochromatic
#2A1231 #51225E #78328B #9F42B8 #B66DCA

Accessibility & contrast

On white

7.99
#78328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#78328B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78328B
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78328B#FFFFFF#000000##FFFFFF
##78328B1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8E
Deuteranopia (green-blind)
#375389
Tritanopia (blue-blind)
#78415A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #78328b;
/* rgb */ color: rgb(120, 50, 139);
/* oklch */ color: oklch(45.2% 0.153 318.5);
Tailwind
colors: {
  custom: {
    50: '#a26fad',
    500: '#78328b',
    950: '#000000',
  },
}
SCSS
$custom: #78328b;
$custom-light: #a26fad;
$custom-dark: #000000;
JSON
{
  "hex": "#78328b",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 287.191,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45248,
    "c": 0.15279,
    "h": 318.5
  },
  "luminance": 0.08138
}

Semantic roles & 50–950 ramp

primary
#78328B
secondary
#77B267
accent
#D7516E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #78328B

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

Preview Lab → · Contrast checker → · Palette generator →

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