#78279B#78279B

#78279B is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.183 H 313.4°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#78279B
RGBrgb(120, 39, 155)
HSLhsl(282, 60%, 38%)
HSVhsv(282, 75%, 61%)
CMYKcmyk(22.6%, 74.8%, 0%, 39.2%)
CIE-LABlab(33.59, 52.73, -47.14)
CIE-LCHlch(33.59, 70.73, 318.21°)
OKLaboklab(45.09% 0.1257 -0.1331)
OKLCHoklch(45.09% 0.183 313.4)
XYZxyz(14.3866, 7.8111, 31.7538)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78279B #4A9B27
analogous
#3E279B #78279B #9B2784
triadic
#78279B #9B7827 #279B78
tetradic
#78279B #9B3E27 #4A9B27 #27849B
square
#78279B #9B3E27 #4A9B27 #27849B
split-complementary
#78279B #849B27 #279B3E
monochromatic
#2C0E39 #521B6A #78279B #9E33CC #B564D8

Accessibility & contrast

On white

8.20
#78279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#78279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78279B
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78279B#FFFFFF#000000##FFFFFF
##78279B1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#1C5198
Tritanopia (blue-blind)
#74415F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #78279b;
/* rgb */ color: rgb(120, 39, 155);
/* oklch */ color: oklch(45.1% 0.183 313.4);
Tailwind
colors: {
  custom: {
    50: '#a36ab9',
    500: '#78279b',
    950: '#000000',
  },
}
SCSS
$custom: #78279b;
$custom-light: #a36ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#78279b",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 281.897,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45093,
    "c": 0.1831,
    "h": 313.4
  },
  "luminance": 0.07811
}

Semantic roles & 50–950 ramp

primary
#78279B
secondary
#7CBE60
accent
#E34575
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #78279B

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

Preview Lab → · Contrast checker → · Palette generator →

#78279B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva