#78289A#78289A

#78289A is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.181 H 313.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#78289A
RGBrgb(120, 40, 154)
HSLhsl(282, 59%, 38%)
HSVhsv(282, 74%, 60%)
CMYKcmyk(22.1%, 74%, 0%, 39.6%)
CIE-LABlab(33.66, 52.12, -46.42)
CIE-LCHlch(33.66, 69.79, 318.31°)
OKLaboklab(45.12% 0.1249 -0.131)
OKLCHoklch(45.12% 0.181 313.6)
XYZxyz(14.3362, 7.8442, 31.3245)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78289A #4A9A28
analogous
#3F289A #78289A #9A2883
triadic
#78289A #9A7828 #289A78
tetradic
#78289A #9A3F28 #4A9A28 #28839A
square
#78289A #9A3F28 #4A9A28 #28839A
split-complementary
#78289A #839A28 #289A3F
monochromatic
#2C0F39 #521B69 #78289A #9E35CA #B565D7

Accessibility & contrast

On white

8.18
#78289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#78289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78289A
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78289A#FFFFFF#000000##FFFFFF
##78289A1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78289a;
/* rgb */ color: rgb(120, 40, 154);
/* oklch */ color: oklch(45.1% 0.181 313.6);
Tailwind
colors: {
  custom: {
    50: '#a36ab8',
    500: '#78289a',
    950: '#000000',
  },
}
SCSS
$custom: #78289a;
$custom-light: #a36ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#78289a",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 282.105,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4512,
    "c": 0.18098,
    "h": 313.6
  },
  "luminance": 0.07844
}

Semantic roles & 50–950 ramp

primary
#78289A
secondary
#7CBD61
accent
#E24674
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #78289A

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

Preview Lab → · Contrast checker → · Palette generator →

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