#78337E#78337E

#78337E is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.6% C 0.138 H 324.4°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#78337E
RGBrgb(120, 51, 126)
HSLhsl(295, 42%, 35%)
HSVhsv(295, 60%, 49%)
CMYKcmyk(4.8%, 59.5%, 0%, 50.6%)
CIE-LABlab(33.71, 41.34, -29.09)
CIE-LCHlch(33.71, 50.54, 324.87°)
OKLaboklab(44.6% 0.1124 -0.0805)
OKLCHoklch(44.6% 0.138 324.4)
XYZxyz(12.6951, 7.8678, 20.5846)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78337E #397E33
analogous
#53337E #78337E #7E335F
triadic
#78337E #7E7833 #337E78
tetradic
#78337E #7E5333 #397E33 #335F7E
square
#78337E #7E5333 #397E33 #335F7E
split-complementary
#78337E #5F7E33 #337E53
monochromatic
#251027 #4F2152 #78337E #A145AA #BB69C2

Accessibility & contrast

On white

8.16
#78337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#78337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78337E
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78337E#FFFFFF#000000##FFFFFF
##78337E1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#3F527C
Tritanopia (blue-blind)
#7A3D53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #78337e;
/* rgb */ color: rgb(120, 51, 126);
/* oklch */ color: oklch(44.6% 0.138 324.4);
Tailwind
colors: {
  custom: {
    50: '#a16fa4',
    500: '#78337e',
    950: '#000000',
  },
}
SCSS
$custom: #78337e;
$custom-light: #a16fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#78337e",
  "rgb": {
    "r": 120,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 295.2,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44596,
    "c": 0.13825,
    "h": 324.4
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#78337E
secondary
#68AA63
accent
#D25660
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #78337E

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

Preview Lab → · Contrast checker → · Palette generator →

#78337E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva