#78348A#78348A

#78348A is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.4% C 0.149 H 318.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#78348A
RGBrgb(120, 52, 138)
HSLhsl(287, 45%, 37%)
HSVhsv(287, 62%, 54%)
CMYKcmyk(13%, 62.3%, 0%, 45.9%)
CIE-LABlab(34.57, 43.30, -35.16)
CIE-LCHlch(34.57, 55.77, 320.92°)
OKLaboklab(45.45% 0.1118 -0.0981)
OKLCHoklch(45.45% 0.149 318.7)
XYZxyz(13.5606, 8.2846, 24.9246)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78348A #468A34
analogous
#4D348A #78348A #8A3471
triadic
#78348A #8A7834 #348A78
tetradic
#78348A #8A4D34 #468A34 #34718A
square
#78348A #8A4D34 #468A34 #34718A
split-complementary
#78348A #718A34 #348A4D
monochromatic
#2B1331 #51235E #78348A #9F45B6 #B66FC9

Accessibility & contrast

On white

7.90
#78348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#78348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78348A
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78348A#FFFFFF#000000##FFFFFF
##78348A1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8D
Deuteranopia (green-blind)
#395488
Tritanopia (blue-blind)
#78425A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #78348a;
/* rgb */ color: rgb(120, 52, 138);
/* oklch */ color: oklch(45.4% 0.149 318.7);
Tailwind
colors: {
  custom: {
    50: '#a170ac',
    500: '#78348a',
    950: '#000000',
  },
}
SCSS
$custom: #78348a;
$custom-light: #a170ac;
$custom-dark: #000000;
JSON
{
  "hex": "#78348a",
  "rgb": {
    "r": 120,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 287.442,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45445,
    "c": 0.14874,
    "h": 318.7
  },
  "luminance": 0.08284
}

Semantic roles & 50–950 ramp

primary
#78348A
secondary
#78B169
accent
#D5536E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #78348A

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

Preview Lab → · Contrast checker → · Palette generator →

#78348A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva