#78199F#78199F

#78199F is a dark, highly saturated purple. Relative luminance 0.072; OKLCH L 44.2% C 0.200 H 313.0°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#78199F
RGBrgb(120, 25, 159)
HSLhsl(283, 73%, 36%)
HSVhsv(283, 84%, 62%)
CMYKcmyk(24.5%, 84.3%, 0%, 37.6%)
CIE-LABlab(32.24, 58.31, -51.75)
CIE-LCHlch(32.24, 77.96, 318.41°)
OKLaboklab(44.24% 0.1366 -0.1466)
OKLCHoklch(44.24% 0.2 313)
XYZxyz(14.3502, 7.1920, 33.4264)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78199F #409F19
analogous
#35199F #78199F #9F1983
triadic
#78199F #9F7819 #199F78
tetradic
#78199F #9F3519 #409F19 #19839F
square
#78199F #9F3519 #409F19 #19839F
split-complementary
#78199F #839F19 #199F35
monochromatic
#280835 #50116A #78199F #A021D4 #B84FE3

Accessibility & contrast

On white

8.61
#78199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#78199F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78199F
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78199F#FFFFFF#000000##FFFFFF
##78199F1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78199f;
/* rgb */ color: rgb(120, 25, 159);
/* oklch */ color: oklch(44.2% 0.200 313.0);
Tailwind
colors: {
  custom: {
    50: '#a464bc',
    500: '#78199f',
    950: '#000000',
  },
}
SCSS
$custom: #78199f;
$custom-light: #a464bc;
$custom-dark: #000000;
JSON
{
  "hex": "#78199f",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 282.537,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4424,
    "c": 0.20034,
    "h": 313
  },
  "luminance": 0.07192
}

Semantic roles & 50–950 ramp

primary
#78199F
secondary
#71C64E
accent
#F0386E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #78199F

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

Preview Lab → · Contrast checker → · Palette generator →

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