#78379D#78379D

#78379D is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.1% C 0.164 H 311.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#78379D
RGBrgb(120, 55, 157)
HSLhsl(278, 48%, 42%)
HSVhsv(278, 65%, 62%)
CMYKcmyk(23.6%, 65%, 0%, 38.4%)
CIE-LABlab(36.29, 45.99, -44.00)
CIE-LCHlch(36.29, 63.64, 316.27°)
OKLaboklab(47.07% 0.1078 -0.124)
OKLCHoklch(47.07% 0.164 311)
XYZxyz(15.1966, 9.1601, 32.8593)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78379D #5C9D37
analogous
#45379D #78379D #9D378F
triadic
#78379D #9D7837 #379D78
tetradic
#78379D #9D4537 #5C9D37 #378F9D
square
#78379D #9D4537 #5C9D37 #378F9D
split-complementary
#78379D #8F9D37 #379D45
monochromatic
#331742 #552770 #78379D #9850C2 #B37DD1

Accessibility & contrast

On white

7.42
#78379D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#78379D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78379D
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78379D#FFFFFF#000000##FFFFFF
##78379D1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#2C579B
Tritanopia (blue-blind)
#734B65
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #78379d;
/* rgb */ color: rgb(120, 55, 157);
/* oklch */ color: oklch(47.1% 0.164 311.0);
Tailwind
colors: {
  custom: {
    50: '#a272ba',
    500: '#78379d',
    950: '#000000',
  },
}
SCSS
$custom: #78379d;
$custom-light: #a272ba;
$custom-dark: #000000;
JSON
{
  "hex": "#78379d",
  "rgb": {
    "r": 120,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 278.235,
    "s": 48.113,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47071,
    "c": 0.16429,
    "h": 311
  },
  "luminance": 0.0916
}

Semantic roles & 50–950 ramp

primary
#78379D
secondary
#8EBB75
accent
#D85081
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #78379D

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

Preview Lab → · Contrast checker → · Palette generator →

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