#78279F#78279F

#78279F is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.187 H 312.0°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#78279F
RGBrgb(120, 39, 159)
HSLhsl(281, 61%, 39%)
HSVhsv(281, 75%, 62%)
CMYKcmyk(24.5%, 75.5%, 0%, 37.6%)
CIE-LABlab(33.87, 53.59, -49.10)
CIE-LCHlch(33.87, 72.68, 317.50°)
OKLaboklab(45.39% 0.1251 -0.1389)
OKLCHoklch(45.39% 0.187 312)
XYZxyz(14.7281, 7.9477, 33.5524)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78279F #4E9F27
analogous
#3C279F #78279F #9F278A
triadic
#78279F #9F7827 #279F78
tetradic
#78279F #9F3C27 #4E9F27 #278A9F
square
#78279F #9F3C27 #4E9F27 #278A9F
split-complementary
#78279F #8A9F27 #279F3C
monochromatic
#2E0F3D #531B6E #78279F #9C36CE #B467DA

Accessibility & contrast

On white

8.11
#78279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#78279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78279F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78279F#FFFFFF#000000##FFFFFF
##78279F1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#15519C
Tritanopia (blue-blind)
#734361
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #78279f;
/* rgb */ color: rgb(120, 39, 159);
/* oklch */ color: oklch(45.4% 0.187 312.0);
Tailwind
colors: {
  custom: {
    50: '#a36abc',
    500: '#78279f',
    950: '#000000',
  },
}
SCSS
$custom: #78279f;
$custom-light: #a36abc;
$custom-dark: #000000;
JSON
{
  "hex": "#78279f",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 280.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45387,
    "c": 0.18692,
    "h": 312
  },
  "luminance": 0.07947
}

Semantic roles & 50–950 ramp

primary
#78279F
secondary
#81C062
accent
#E44478
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78279F

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

Preview Lab → · Contrast checker → · Palette generator →

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