#78339F#78339F

#78339F is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.7% C 0.172 H 310.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#78339F
RGBrgb(120, 51, 159)
HSLhsl(278, 51%, 41%)
HSVhsv(278, 68%, 62%)
CMYKcmyk(24.5%, 67.9%, 0%, 37.6%)
CIE-LABlab(35.72, 48.38, -46.12)
CIE-LCHlch(35.72, 66.84, 316.37°)
OKLaboklab(46.7% 0.1124 -0.1302)
OKLCHoklch(46.7% 0.172 310.8)
XYZxyz(15.1864, 8.8643, 33.7051)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78339F #5A9F33
analogous
#42339F #78339F #9F3390
triadic
#78339F #9F7833 #339F78
tetradic
#78339F #9F4233 #5A9F33 #33909F
square
#78339F #9F4233 #5A9F33 #33909F
split-complementary
#78339F #909F33 #339F42
monochromatic
#321542 #552471 #78339F #994AC5 #B379D4

Accessibility & contrast

On white

7.57
#78339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78339F
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78339F#FFFFFF#000000##FFFFFF
##78339F1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#25559D
Tritanopia (blue-blind)
#734965
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #78339f;
/* rgb */ color: rgb(120, 51, 159);
/* oklch */ color: oklch(46.7% 0.172 310.8);
Tailwind
colors: {
  custom: {
    50: '#a370bc',
    500: '#78339f',
    950: '#000000',
  },
}
SCSS
$custom: #78339f;
$custom-light: #a370bc;
$custom-dark: #000000;
JSON
{
  "hex": "#78339f",
  "rgb": {
    "r": 120,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 278.333,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46704,
    "c": 0.17201,
    "h": 310.8
  },
  "luminance": 0.08864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #78339F

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

Preview Lab → · Contrast checker → · Palette generator →

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