#78298F#78298F

#78298F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.169 H 317.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#78298F
RGBrgb(120, 41, 143)
HSLhsl(286, 55%, 36%)
HSVhsv(286, 71%, 56%)
CMYKcmyk(16.1%, 71.3%, 0%, 43.9%)
CIE-LABlab(33.05, 49.41, -40.65)
CIE-LCHlch(33.05, 63.98, 320.55°)
OKLaboklab(44.45% 0.125 -0.1141)
OKLCHoklch(44.45% 0.169 317.6)
XYZxyz(13.4959, 7.5627, 26.7301)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78298F #408F29
analogous
#45298F #78298F #8F2973
triadic
#78298F #8F7829 #298F78
tetradic
#78298F #8F4529 #408F29 #29738F
square
#78298F #8F4529 #408F29 #29738F
split-complementary
#78298F #738F29 #298F45
monochromatic
#280E30 #501B5F #78298F #A037BF #B861D2

Accessibility & contrast

On white

8.36
#78298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#78298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78298F
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78298F#FFFFFF#000000##FFFFFF
##78298F1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#2C508D
Tritanopia (blue-blind)
#773D59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78298f;
/* rgb */ color: rgb(120, 41, 143);
/* oklch */ color: oklch(44.5% 0.169 317.6);
Tailwind
colors: {
  custom: {
    50: '#a26ab0',
    500: '#78298f',
    950: '#000000',
  },
}
SCSS
$custom: #78298f;
$custom-light: #a26ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#78298f",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 286.471,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44454,
    "c": 0.16924,
    "h": 317.6
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#78298F
secondary
#71B75C
accent
#DF496B
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78298F

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

Preview Lab → · Contrast checker → · Palette generator →

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