#78419F#78419F

#78419F is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.6% C 0.151 H 308.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#78419F
RGBrgb(120, 65, 159)
HSLhsl(275, 42%, 44%)
HSVhsv(275, 59%, 62%)
CMYKcmyk(24.5%, 59.1%, 0%, 37.6%)
CIE-LABlab(38.34, 41.26, -41.93)
CIE-LCHlch(38.34, 58.82, 314.54°)
OKLaboklab(48.6% 0.095 -0.118)
OKLCHoklch(48.6% 0.151 308.8)
XYZxyz(15.8928, 10.2771, 33.9406)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78419F #689F41
analogous
#49419F #78419F #9F4197
triadic
#78419F #9F7841 #419F78
tetradic
#78419F #9F4941 #689F41 #41979F
square
#78419F #9F4941 #689F41 #41979F
split-complementary
#78419F #979F41 #419F49
monochromatic
#361D48 #572F74 #78419F #975FBE #B38BD0

Accessibility & contrast

On white

6.87
#78419F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#78419F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #78419F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78419F#FFFFFF#000000##FFFFFF
##78419F1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#355B9D
Tritanopia (blue-blind)
#72536A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #78419f;
/* rgb */ color: rgb(120, 65, 159);
/* oklch */ color: oklch(48.6% 0.151 308.8);
Tailwind
colors: {
  custom: {
    50: '#a278bc',
    500: '#78419f',
    950: '#000000',
  },
}
SCSS
$custom: #78419f;
$custom-light: #a278bc;
$custom-dark: #000000;
JSON
{
  "hex": "#78419f",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 275.106,
    "s": 41.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48597,
    "c": 0.15146,
    "h": 308.8
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#78419F
secondary
#99BA81
accent
#D25689
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #78419F

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

Preview Lab → · Contrast checker → · Palette generator →

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