#78339E#78339E

#78339E is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.6% C 0.171 H 311.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#78339E
RGBrgb(120, 51, 158)
HSLhsl(279, 51%, 41%)
HSVhsv(279, 68%, 62%)
CMYKcmyk(24.1%, 67.7%, 0%, 38%)
CIE-LABlab(35.65, 48.15, -45.62)
CIE-LCHlch(35.65, 66.33, 316.55°)
OKLaboklab(46.63% 0.1125 -0.1288)
OKLCHoklch(46.63% 0.171 311.1)
XYZxyz(15.1000, 8.8297, 33.2500)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78339E #599E33
analogous
#43339E #78339E #9E338E
triadic
#78339E #9E7833 #339E78
tetradic
#78339E #9E4333 #599E33 #338E9E
square
#78339E #9E4333 #599E33 #338E9E
split-complementary
#78339E #8E9E33 #339E43
monochromatic
#321541 #552470 #78339E #994AC4 #B378D3

Accessibility & contrast

On white

7.59
#78339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#78339E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78339E
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78339E#FFFFFF#000000##FFFFFF
##78339E1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#26559C
Tritanopia (blue-blind)
#734964
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #78339e;
/* rgb */ color: rgb(120, 51, 158);
/* oklch */ color: oklch(46.6% 0.171 311.1);
Tailwind
colors: {
  custom: {
    50: '#a270bb',
    500: '#78339e',
    950: '#000000',
  },
}
SCSS
$custom: #78339e;
$custom-light: #a270bb;
$custom-dark: #000000;
JSON
{
  "hex": "#78339e",
  "rgb": {
    "r": 120,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 278.692,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46634,
    "c": 0.17096,
    "h": 311.1
  },
  "luminance": 0.08829
}

Semantic roles & 50–950 ramp

primary
#78339E
secondary
#8CBC71
accent
#DB4D7F
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #78339E

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

Preview Lab → · Contrast checker → · Palette generator →

#78339E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva