#78279C#78279C

#78279C is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.184 H 313.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#78279C
RGBrgb(120, 39, 156)
HSLhsl(282, 60%, 38%)
HSVhsv(282, 75%, 61%)
CMYKcmyk(23.1%, 75%, 0%, 38.8%)
CIE-LABlab(33.66, 52.95, -47.63)
CIE-LCHlch(33.66, 71.22, 318.03°)
OKLaboklab(45.17% 0.1256 -0.1346)
OKLCHoklch(45.17% 0.184 313)
XYZxyz(14.4709, 7.8448, 32.1980)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78279C #4B9C27
analogous
#3D279C #78279C #9C2785
triadic
#78279C #9C7827 #279C78
tetradic
#78279C #9C3D27 #4B9C27 #27859C
square
#78279C #9C3D27 #4B9C27 #27859C
split-complementary
#78279C #859C27 #279C3D
monochromatic
#2D0F3A #521B6B #78279C #9D34CC #B565D8

Accessibility & contrast

On white

8.18
#78279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#78279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78279C
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78279C#FFFFFF#000000##FFFFFF
##78279C1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#1B5199
Tritanopia (blue-blind)
#744160
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #78279c;
/* rgb */ color: rgb(120, 39, 156);
/* oklch */ color: oklch(45.2% 0.184 313.0);
Tailwind
colors: {
  custom: {
    50: '#a36aba',
    500: '#78279c',
    950: '#000000',
  },
}
SCSS
$custom: #78279c;
$custom-light: #a36aba;
$custom-dark: #000000;
JSON
{
  "hex": "#78279c",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 281.538,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45166,
    "c": 0.18406,
    "h": 313
  },
  "luminance": 0.07844
}

Semantic roles & 50–950 ramp

primary
#78279C
secondary
#7DBE61
accent
#E34575
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78279C

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

Preview Lab → · Contrast checker → · Palette generator →

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