#78309F#78309F

#78309F is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.176 H 311.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#78309F
RGBrgb(120, 48, 159)
HSLhsl(279, 54%, 41%)
HSVhsv(279, 70%, 62%)
CMYKcmyk(24.5%, 69.8%, 0%, 37.6%)
CIE-LABlab(35.22, 49.77, -46.92)
CIE-LCHlch(35.22, 68.40, 316.69°)
OKLaboklab(46.35% 0.1158 -0.1326)
OKLCHoklch(46.35% 0.176 311.1)
XYZxyz(15.0595, 8.6105, 33.6629)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78309F #579F30
analogous
#40309F #78309F #9F308E
triadic
#78309F #9F7830 #309F78
tetradic
#78309F #9F4030 #579F30 #308E9F
square
#78309F #9F4030 #579F30 #308E9F
split-complementary
#78309F #8E9F30 #309F40
monochromatic
#311441 #552270 #78309F #9945C7 #B374D5

Accessibility & contrast

On white

7.71
#78309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#78309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78309F
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78309F#FFFFFF#000000##FFFFFF
##78309F1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#21549D
Tritanopia (blue-blind)
#734864
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #78309f;
/* rgb */ color: rgb(120, 48, 159);
/* oklch */ color: oklch(46.3% 0.176 311.1);
Tailwind
colors: {
  custom: {
    50: '#a36ebc',
    500: '#78309f',
    950: '#000000',
  },
}
SCSS
$custom: #78309f;
$custom-light: #a36ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#78309f",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 278.919,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46347,
    "c": 0.176,
    "h": 311.1
  },
  "luminance": 0.0861
}

Semantic roles & 50–950 ramp

primary
#78309F
secondary
#8ABD6E
accent
#DD4B7E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #78309F

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

Preview Lab → · Contrast checker → · Palette generator →

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