#78279A#78279A

#78279A is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.182 H 313.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#78279A
RGBrgb(120, 39, 154)
HSLhsl(282, 60%, 38%)
HSVhsv(282, 75%, 60%)
CMYKcmyk(22.1%, 74.7%, 0%, 39.6%)
CIE-LABlab(33.52, 52.52, -46.64)
CIE-LCHlch(33.52, 70.24, 318.39°)
OKLaboklab(45.02% 0.1259 -0.1317)
OKLCHoklch(45.02% 0.182 313.7)
XYZxyz(14.3030, 7.7777, 31.3134)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78279A #499A27
analogous
#3F279A #78279A #9A2782
triadic
#78279A #9A7827 #279A78
tetradic
#78279A #9A3F27 #499A27 #27829A
square
#78279A #9A3F27 #499A27 #27829A
split-complementary
#78279A #829A27 #279A3F
monochromatic
#2C0E38 #521B69 #78279A #9E33CB #B564D8

Accessibility & contrast

On white

8.22
#78279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78279A
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78279A#FFFFFF#000000##FFFFFF
##78279A1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#1E5198
Tritanopia (blue-blind)
#75405E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #78279a;
/* rgb */ color: rgb(120, 39, 154);
/* oklch */ color: oklch(45.0% 0.182 313.7);
Tailwind
colors: {
  custom: {
    50: '#a36ab8',
    500: '#78279a',
    950: '#000000',
  },
}
SCSS
$custom: #78279a;
$custom-light: #a36ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#78279a",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 282.261,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4502,
    "c": 0.18215,
    "h": 313.7
  },
  "luminance": 0.07777
}

Semantic roles & 50–950 ramp

primary
#78279A
secondary
#7BBD5F
accent
#E34574
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #78279A

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

Preview Lab → · Contrast checker → · Palette generator →

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