#78199E#78199E

#78199E is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.2% C 0.199 H 313.3°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#78199E
RGBrgb(120, 25, 158)
HSLhsl(283, 73%, 36%)
HSVhsv(283, 84%, 62%)
CMYKcmyk(24.1%, 84.2%, 0%, 38%)
CIE-LABlab(32.16, 58.11, -51.27)
CIE-LCHlch(32.16, 77.49, 318.58°)
OKLaboklab(44.16% 0.1368 -0.1452)
OKLCHoklch(44.16% 0.199 313.3)
XYZxyz(14.2638, 7.1574, 32.9713)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78199E #3F9E19
analogous
#35199E #78199E #9E1981
triadic
#78199E #9E7819 #199E78
tetradic
#78199E #9E3519 #3F9E19 #19819E
square
#78199E #9E3519 #3F9E19 #19819E
split-complementary
#78199E #819E19 #199E35
monochromatic
#280834 #501169 #78199E #A021D3 #B94EE3

Accessibility & contrast

On white

8.64
#78199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#78199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78199E
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78199E#FFFFFF#000000##FFFFFF
##78199E1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#004E9B
Tritanopia (blue-blind)
#743C5E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #78199e;
/* rgb */ color: rgb(120, 25, 158);
/* oklch */ color: oklch(44.2% 0.199 313.3);
Tailwind
colors: {
  custom: {
    50: '#a464bb',
    500: '#78199e',
    950: '#000000',
  },
}
SCSS
$custom: #78199e;
$custom-light: #a464bb;
$custom-dark: #000000;
JSON
{
  "hex": "#78199e",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 282.857,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44162,
    "c": 0.19947,
    "h": 313.3
  },
  "luminance": 0.07157
}

Semantic roles & 50–950 ramp

primary
#78199E
secondary
#70C54E
accent
#EF386D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #78199E

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

Preview Lab → · Contrast checker → · Palette generator →

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