#78289C#78289C

#78289C is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.183 H 312.9°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#78289C
RGBrgb(120, 40, 156)
HSLhsl(281, 59%, 38%)
HSVhsv(281, 74%, 61%)
CMYKcmyk(23.1%, 74.4%, 0%, 38.8%)
CIE-LABlab(33.80, 52.55, -47.40)
CIE-LCHlch(33.80, 70.77, 317.95°)
OKLaboklab(45.27% 0.1246 -0.1339)
OKLCHoklch(45.27% 0.183 312.9)
XYZxyz(14.5042, 7.9114, 32.2091)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78289C #4C9C28
analogous
#3E289C #78289C #9C2886
triadic
#78289C #9C7828 #289C78
tetradic
#78289C #9C3E28 #4C9C28 #28869C
square
#78289C #9C3E28 #4C9C28 #28869C
split-complementary
#78289C #869C28 #289C3E
monochromatic
#2D0F3B #531C6B #78289C #9D36CB #B567D8

Accessibility & contrast

On white

8.13
#78289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#78289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78289C
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78289C#FFFFFF#000000##FFFFFF
##78289C1.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)
#004B9F
Deuteranopia (green-blind)
#1C5199
Tritanopia (blue-blind)
#744260
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #78289c;
/* rgb */ color: rgb(120, 40, 156);
/* oklch */ color: oklch(45.3% 0.183 312.9);
Tailwind
colors: {
  custom: {
    50: '#a36aba',
    500: '#78289c',
    950: '#000000',
  },
}
SCSS
$custom: #78289c;
$custom-light: #a36aba;
$custom-dark: #000000;
JSON
{
  "hex": "#78289c",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 281.379,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45265,
    "c": 0.1829,
    "h": 312.9
  },
  "luminance": 0.07911
}

Semantic roles & 50–950 ramp

primary
#78289C
secondary
#7EBE62
accent
#E24576
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78289C

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

Preview Lab → · Contrast checker → · Palette generator →

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