#78279D#78279D

#78279D is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.185 H 312.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#78279D
RGBrgb(120, 39, 157)
HSLhsl(281, 60%, 38%)
HSVhsv(281, 75%, 62%)
CMYKcmyk(23.6%, 75.2%, 0%, 38.4%)
CIE-LABlab(33.73, 53.16, -48.12)
CIE-LCHlch(33.73, 71.70, 317.85°)
OKLaboklab(45.24% 0.1254 -0.136)
OKLCHoklch(45.24% 0.185 312.7)
XYZxyz(14.5560, 7.8789, 32.6458)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78279D #4C9D27
analogous
#3D279D #78279D #9D2787
triadic
#78279D #9D7827 #279D78
tetradic
#78279D #9D3D27 #4C9D27 #27879D
square
#78279D #9D3D27 #4C9D27 #27879D
split-complementary
#78279D #879D27 #279D3D
monochromatic
#2D0F3B #531B6C #78279D #9D35CD #B566D9

Accessibility & contrast

On white

8.15
#78279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#78279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78279D
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78279D#FFFFFF#000000##FFFFFF
##78279D1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#19519A
Tritanopia (blue-blind)
#744260
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #78279d;
/* rgb */ color: rgb(120, 39, 157);
/* oklch */ color: oklch(45.2% 0.185 312.7);
Tailwind
colors: {
  custom: {
    50: '#a36abb',
    500: '#78279d',
    950: '#000000',
  },
}
SCSS
$custom: #78279d;
$custom-light: #a36abb;
$custom-dark: #000000;
JSON
{
  "hex": "#78279d",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 281.186,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45239,
    "c": 0.185,
    "h": 312.7
  },
  "luminance": 0.07878
}

Semantic roles & 50–950 ramp

primary
#78279D
secondary
#7EBF61
accent
#E34476
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78279D

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

Preview Lab → · Contrast checker → · Palette generator →

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