#78328F#78328F

#78328F is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.5% C 0.157 H 316.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#78328F
RGBrgb(120, 50, 143)
HSLhsl(285, 48%, 38%)
HSVhsv(285, 65%, 56%)
CMYKcmyk(16.1%, 65%, 0%, 43.9%)
CIE-LABlab(34.51, 45.34, -38.32)
CIE-LCHlch(34.51, 59.36, 319.80°)
OKLaboklab(45.5% 0.1144 -0.1074)
OKLCHoklch(45.5% 0.157 316.8)
XYZxyz(13.8435, 8.2580, 26.8460)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78328F #498F32
analogous
#49328F #78328F #8F3278
triadic
#78328F #8F7832 #328F78
tetradic
#78328F #8F4932 #498F32 #32788F
square
#78328F #8F4932 #498F32 #32788F
split-complementary
#78328F #788F32 #328F49
monochromatic
#2C1234 #522262 #78328F #9E42BC #B56FCD

Accessibility & contrast

On white

7.92
#78328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#78328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78328F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78328F#FFFFFF#000000##FFFFFF
##78328F1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124D92
Deuteranopia (green-blind)
#34538D
Tritanopia (blue-blind)
#77435C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #78328f;
/* rgb */ color: rgb(120, 50, 143);
/* oklch */ color: oklch(45.5% 0.157 316.8);
Tailwind
colors: {
  custom: {
    50: '#a26fb0',
    500: '#78328f',
    950: '#000000',
  },
}
SCSS
$custom: #78328f;
$custom-light: #a26fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#78328f",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 285.161,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45503,
    "c": 0.15687,
    "h": 316.8
  },
  "luminance": 0.08257
}

Semantic roles & 50–950 ramp

primary
#78328F
secondary
#7BB468
accent
#D85072
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #78328F

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

Preview Lab → · Contrast checker → · Palette generator →

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