#78348F#78348F

#78348F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.8% C 0.154 H 316.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#78348F
RGBrgb(120, 52, 143)
HSLhsl(285, 47%, 38%)
HSVhsv(285, 64%, 56%)
CMYKcmyk(16.1%, 63.6%, 0%, 43.9%)
CIE-LABlab(34.87, 44.36, -37.75)
CIE-LCHlch(34.87, 58.25, 319.60°)
OKLaboklab(45.76% 0.1118 -0.1057)
OKLCHoklch(45.76% 0.154 316.6)
XYZxyz(13.9309, 8.4327, 26.8751)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78348F #4B8F34
analogous
#4A348F #78348F #8F3478
triadic
#78348F #8F7834 #348F78
tetradic
#78348F #8F4A34 #4B8F34 #34788F
square
#78348F #8F4A34 #4B8F34 #34788F
split-complementary
#78348F #788F34 #348F4A
monochromatic
#2D1335 #522462 #78348F #9D45BB #B572CC

Accessibility & contrast

On white

7.82
#78348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#78348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78348F
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78348F#FFFFFF#000000##FFFFFF
##78348F1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174E92
Deuteranopia (green-blind)
#35548D
Tritanopia (blue-blind)
#77445C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #78348f;
/* rgb */ color: rgb(120, 52, 143);
/* oklch */ color: oklch(45.8% 0.154 316.6);
Tailwind
colors: {
  custom: {
    50: '#a270b0',
    500: '#78348f',
    950: '#000000',
  },
}
SCSS
$custom: #78348f;
$custom-light: #a270b0;
$custom-dark: #000000;
JSON
{
  "hex": "#78348f",
  "rgb": {
    "r": 120,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 284.835,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45759,
    "c": 0.1539,
    "h": 316.6
  },
  "luminance": 0.08432
}

Semantic roles & 50–950 ramp

primary
#78348F
secondary
#7DB46B
accent
#D65173
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #78348F

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

Preview Lab → · Contrast checker → · Palette generator →

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