#78329B#78329B

#78329B is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.3% C 0.169 H 312.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#78329B
RGBrgb(120, 50, 155)
HSLhsl(280, 51%, 40%)
HSVhsv(280, 68%, 61%)
CMYKcmyk(22.6%, 67.7%, 0%, 39.2%)
CIE-LABlab(35.28, 47.95, -44.40)
CIE-LCHlch(35.28, 65.35, 317.20°)
OKLaboklab(46.3% 0.1139 -0.1252)
OKLCHoklch(46.3% 0.169 312.3)
XYZxyz(14.8017, 8.6412, 31.8922)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78329B #559B32
analogous
#43329B #78329B #9B328A
triadic
#78329B #9B7832 #329B78
tetradic
#78329B #9B4332 #559B32 #328A9B
square
#78329B #9B4332 #559B32 #328A9B
split-complementary
#78329B #8A9B32 #329B43
monochromatic
#30143E #54236D #78329B #9A47C4 #B375D2

Accessibility & contrast

On white

7.70
#78329B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#78329B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78329B
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78329B#FFFFFF#000000##FFFFFF
##78329B1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#295499
Tritanopia (blue-blind)
#744762
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #78329b;
/* rgb */ color: rgb(120, 50, 155);
/* oklch */ color: oklch(46.3% 0.169 312.3);
Tailwind
colors: {
  custom: {
    50: '#a26fb9',
    500: '#78329b',
    950: '#000000',
  },
}
SCSS
$custom: #78329b;
$custom-light: #a26fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#78329b",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 155
  },
  "hsl": {
    "h": 280,
    "s": 51.22,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46304,
    "c": 0.16922,
    "h": 312.3
  },
  "luminance": 0.08641
}

Semantic roles & 50–950 ramp

primary
#78329B
secondary
#88BB6E
accent
#DB4D7C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #78329B

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

Preview Lab → · Contrast checker → · Palette generator →

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