#78328D#78328D

#78328D is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.4% C 0.155 H 317.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#78328D
RGBrgb(120, 50, 141)
HSLhsl(286, 48%, 37%)
HSVhsv(286, 65%, 55%)
CMYKcmyk(14.9%, 64.5%, 0%, 44.7%)
CIE-LABlab(34.39, 44.91, -37.29)
CIE-LCHlch(34.39, 58.37, 320.30°)
OKLaboklab(45.38% 0.1144 -0.1043)
OKLCHoklch(45.38% 0.155 317.6)
XYZxyz(13.6934, 8.1979, 26.0552)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78328D #478D32
analogous
#4B328D #78328D #8D3274
triadic
#78328D #8D7832 #328D78
tetradic
#78328D #8D4B32 #478D32 #32748D
square
#78328D #8D4B32 #478D32 #32748D
split-complementary
#78328D #748D32 #328D4B
monochromatic
#2B1233 #522260 #78328D #9E42BA #B66ECC

Accessibility & contrast

On white

7.96
#78328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#78328D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78328D
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78328D#FFFFFF#000000##FFFFFF
##78328D1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154C90
Deuteranopia (green-blind)
#35538B
Tritanopia (blue-blind)
#77425B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #78328d;
/* rgb */ color: rgb(120, 50, 141);
/* oklch */ color: oklch(45.4% 0.155 317.6);
Tailwind
colors: {
  custom: {
    50: '#a26faf',
    500: '#78328d',
    950: '#000000',
  },
}
SCSS
$custom: #78328d;
$custom-light: #a26faf;
$custom-dark: #000000;
JSON
{
  "hex": "#78328d",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 286.154,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45375,
    "c": 0.15482,
    "h": 317.6
  },
  "luminance": 0.08197
}

Semantic roles & 50–950 ramp

primary
#78328D
secondary
#79B368
accent
#D75170
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #78328D

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

Preview Lab → · Contrast checker → · Palette generator →

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