#78299A#78299A

#78299A is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.180 H 313.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#78299A
RGBrgb(120, 41, 154)
HSLhsl(282, 58%, 38%)
HSVhsv(282, 73%, 60%)
CMYKcmyk(22.1%, 73.4%, 0%, 39.6%)
CIE-LABlab(33.80, 51.71, -46.18)
CIE-LCHlch(33.80, 69.33, 318.23°)
OKLaboklab(45.22% 0.1238 -0.1303)
OKLCHoklch(45.22% 0.18 313.5)
XYZxyz(14.3704, 7.9125, 31.3359)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78299A #4B9A29
analogous
#3F299A #78299A #9A2983
triadic
#78299A #9A7829 #299A78
tetradic
#78299A #9A3F29 #4B9A29 #29839A
square
#78299A #9A3F29 #4B9A29 #29839A
split-complementary
#78299A #839A29 #299A3F
monochromatic
#2D0F39 #521C6A #78299A #9D37CA #B567D7

Accessibility & contrast

On white

8.13
#78299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#78299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78299A
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78299A#FFFFFF#000000##FFFFFF
##78299A1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#205198
Tritanopia (blue-blind)
#75415F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #78299a;
/* rgb */ color: rgb(120, 41, 154);
/* oklch */ color: oklch(45.2% 0.180 313.5);
Tailwind
colors: {
  custom: {
    50: '#a36bb8',
    500: '#78299a',
    950: '#000000',
  },
}
SCSS
$custom: #78299a;
$custom-light: #a36bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#78299a",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 281.947,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45222,
    "c": 0.1798,
    "h": 313.5
  },
  "luminance": 0.07912
}

Semantic roles & 50–950 ramp

primary
#78299A
secondary
#7DBD62
accent
#E14775
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #78299A

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

Preview Lab → · Contrast checker → · Palette generator →

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