#78299C#78299C

#78299C is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.182 H 312.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#78299C
RGBrgb(120, 41, 156)
HSLhsl(281, 58%, 39%)
HSVhsv(281, 74%, 61%)
CMYKcmyk(23.1%, 73.7%, 0%, 38.8%)
CIE-LABlab(33.94, 52.14, -47.17)
CIE-LCHlch(33.94, 70.31, 317.86°)
OKLaboklab(45.37% 0.1236 -0.1332)
OKLCHoklch(45.37% 0.182 312.8)
XYZxyz(14.5383, 7.9797, 32.2204)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78299C #4D9C29
analogous
#3E299C #78299C #9C2986
triadic
#78299C #9C7829 #299C78
tetradic
#78299C #9C3E29 #4D9C29 #29869C
square
#78299C #9C3E29 #4D9C29 #29869C
split-complementary
#78299C #869C29 #299C3E
monochromatic
#2D103B #531C6C #78299C #9D38CB #B568D7

Accessibility & contrast

On white

8.09
#78299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#78299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78299C
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78299C#FFFFFF#000000##FFFFFF
##78299C1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#1D5199
Tritanopia (blue-blind)
#744260
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #78299c;
/* rgb */ color: rgb(120, 41, 156);
/* oklch */ color: oklch(45.4% 0.182 312.8);
Tailwind
colors: {
  custom: {
    50: '#a36bba',
    500: '#78299c',
    950: '#000000',
  },
}
SCSS
$custom: #78299c;
$custom-light: #a36bba;
$custom-dark: #000000;
JSON
{
  "hex": "#78299c",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 281.217,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45367,
    "c": 0.18173,
    "h": 312.8
  },
  "luminance": 0.07979
}

Semantic roles & 50–950 ramp

primary
#78299C
secondary
#80BE63
accent
#E24677
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78299C

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

Preview Lab → · Contrast checker → · Palette generator →

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