#78198D#78198D

#78198D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.9% C 0.185 H 319.3°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#78198D
RGBrgb(120, 25, 141)
HSLhsl(289, 70%, 33%)
HSVhsv(289, 82%, 55%)
CMYKcmyk(14.9%, 82.3%, 0%, 44.7%)
CIE-LABlab(30.91, 54.77, -42.87)
CIE-LCHlch(30.91, 69.55, 321.95°)
OKLaboklab(42.89% 0.1402 -0.1205)
OKLCHoklch(42.89% 0.185 319.3)
XYZxyz(12.9004, 6.6121, 25.7909)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78198D #2E8D19
analogous
#3E198D #78198D #8D1968
triadic
#78198D #8D7819 #198D78
tetradic
#78198D #8D3E19 #2E8D19 #19688D
square
#78198D #8D3E19 #2E8D19 #19688D
split-complementary
#78198D #688D19 #198D3E
monochromatic
#200725 #4C1059 #78198D #A422C1 #C243DE

Accessibility & contrast

On white

9.04
#78198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#78198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78198D
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78198D#FFFFFF#000000##FFFFFF
##78198D1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#234C8B
Tritanopia (blue-blind)
#783354
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #78198d;
/* rgb */ color: rgb(120, 25, 141);
/* oklch */ color: oklch(42.9% 0.185 319.3);
Tailwind
colors: {
  custom: {
    50: '#a363af',
    500: '#78198d',
    950: '#000000',
  },
}
SCSS
$custom: #78198d;
$custom-light: #a363af;
$custom-dark: #000000;
JSON
{
  "hex": "#78198d",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 289.138,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42886,
    "c": 0.18489,
    "h": 319.3
  },
  "luminance": 0.06611
}

Semantic roles & 50–950 ramp

primary
#78198D
secondary
#5ABF43
accent
#ED3B5B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #78198D

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

Preview Lab → · Contrast checker → · Palette generator →

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