#78368D#78368D

#78368D is a mid, vivid purple. Relative luminance 0.086; OKLCH L 45.9% C 0.149 H 317.2°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#78368D
RGBrgb(120, 54, 141)
HSLhsl(286, 45%, 38%)
HSVhsv(286, 62%, 55%)
CMYKcmyk(14.9%, 61.7%, 0%, 44.7%)
CIE-LABlab(35.11, 42.94, -36.14)
CIE-LCHlch(35.11, 56.12, 319.92°)
OKLaboklab(45.9% 0.1092 -0.101)
OKLCHoklch(45.9% 0.149 317.2)
XYZxyz(13.8719, 8.5550, 26.1147)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78368D #4B8D36
analogous
#4C368D #78368D #8D3676
triadic
#78368D #8D7836 #368D78
tetradic
#78368D #8D4C36 #4B8D36 #36768D
square
#78368D #8D4C36 #4B8D36 #36768D
split-complementary
#78368D #768D36 #368D4C
monochromatic
#2D1434 #522561 #78368D #9D47B9 #B574CA

Accessibility & contrast

On white

7.75
#78368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#78368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78368D
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78368D#FFFFFF#000000##FFFFFF
##78368D1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E90
Deuteranopia (green-blind)
#38558B
Tritanopia (blue-blind)
#77455C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #78368d;
/* rgb */ color: rgb(120, 54, 141);
/* oklch */ color: oklch(45.9% 0.149 317.2);
Tailwind
colors: {
  custom: {
    50: '#a171af',
    500: '#78368d',
    950: '#000000',
  },
}
SCSS
$custom: #78368d;
$custom-light: #a171af;
$custom-dark: #000000;
JSON
{
  "hex": "#78368d",
  "rgb": {
    "r": 120,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 285.517,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45898,
    "c": 0.14875,
    "h": 317.2
  },
  "luminance": 0.08554
}

Semantic roles & 50–950 ramp

primary
#78368D
secondary
#7DB26D
accent
#D45373
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #78368D

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

Preview Lab → · Contrast checker → · Palette generator →

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