#78409C#78409C

#78409C is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.3% C 0.150 H 310.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#78409C
RGBrgb(120, 64, 156)
HSLhsl(277, 42%, 43%)
HSVhsv(277, 59%, 61%)
CMYKcmyk(23.1%, 59%, 0%, 38.8%)
CIE-LABlab(37.95, 41.09, -40.73)
CIE-LCHlch(37.95, 57.86, 315.25°)
OKLaboklab(48.26% 0.0962 -0.1145)
OKLCHoklch(48.26% 0.15 310)
XYZxyz(15.5787, 10.0605, 32.5672)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78409C #649C40
analogous
#4A409C #78409C #9C4092
triadic
#78409C #9C7840 #409C78
tetradic
#78409C #9C4A40 #649C40 #40929C
square
#78409C #9C4A40 #649C40 #40929C
split-complementary
#78409C #929C40 #409C4A
monochromatic
#351C45 #572E71 #78409C #975DBC #B388CE

Accessibility & contrast

On white

6.97
#78409C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#78409C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78409C
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78409C#FFFFFF#000000##FFFFFF
##78409C1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20579F
Deuteranopia (green-blind)
#365A9A
Tritanopia (blue-blind)
#735168
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #78409c;
/* rgb */ color: rgb(120, 64, 156);
/* oklch */ color: oklch(48.3% 0.150 310.0);
Tailwind
colors: {
  custom: {
    50: '#a277ba',
    500: '#78409c',
    950: '#000000',
  },
}
SCSS
$custom: #78409c;
$custom-light: #a277ba;
$custom-dark: #000000;
JSON
{
  "hex": "#78409c",
  "rgb": {
    "r": 120,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 276.522,
    "s": 41.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48257,
    "c": 0.14958,
    "h": 310
  },
  "luminance": 0.1006
}

Semantic roles & 50–950 ramp

primary
#78409C
secondary
#96B97F
accent
#D25686
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #78409C

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

Preview Lab → · Contrast checker → · Palette generator →

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