#78298C#78298C

#78298C is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.166 H 318.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#78298C
RGBrgb(120, 41, 140)
HSLhsl(288, 55%, 35%)
HSVhsv(288, 71%, 55%)
CMYKcmyk(14.3%, 70.7%, 0%, 45.1%)
CIE-LABlab(32.86, 48.79, -39.12)
CIE-LCHlch(32.86, 62.54, 321.28°)
OKLaboklab(44.25% 0.1252 -0.1096)
OKLCHoklch(44.25% 0.166 318.8)
XYZxyz(13.2717, 7.4730, 25.5492)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78298C #3D8C29
analogous
#47298C #78298C #8C296E
triadic
#78298C #8C7829 #298C78
tetradic
#78298C #8C4729 #3D8C29 #296E8C
square
#78298C #8C4729 #3D8C29 #296E8C
split-complementary
#78298C #6E8C29 #298C47
monochromatic
#270D2D #4F1B5D #78298C #A137BB #B95FD0

Accessibility & contrast

On white

8.42
#78298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#78298C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78298C
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78298C#FFFFFF#000000##FFFFFF
##78298C1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#2F508A
Tritanopia (blue-blind)
#783C57
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #78298c;
/* rgb */ color: rgb(120, 41, 140);
/* oklch */ color: oklch(44.3% 0.166 318.8);
Tailwind
colors: {
  custom: {
    50: '#a26aae',
    500: '#78298c',
    950: '#000000',
  },
}
SCSS
$custom: #78298c;
$custom-light: #a26aae;
$custom-dark: #000000;
JSON
{
  "hex": "#78298c",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 287.879,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44252,
    "c": 0.16638,
    "h": 318.8
  },
  "luminance": 0.07472
}

Semantic roles & 50–950 ramp

primary
#78298C
secondary
#6DB65B
accent
#DE4A68
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78298C

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

Preview Lab → · Contrast checker → · Palette generator →

#78298C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva