#78309C#78309C

#78309C is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.1% C 0.173 H 312.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#78309C
RGBrgb(120, 48, 156)
HSLhsl(280, 53%, 40%)
HSVhsv(280, 69%, 61%)
CMYKcmyk(23.1%, 69.2%, 0%, 38.8%)
CIE-LABlab(35.02, 49.10, -45.43)
CIE-LCHlch(35.02, 66.90, 317.22°)
OKLaboklab(46.14% 0.1161 -0.1282)
OKLCHoklch(46.14% 0.173 312.2)
XYZxyz(14.8023, 8.5077, 32.3084)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78309C #549C30
analogous
#42309C #78309C #9C308A
triadic
#78309C #9C7830 #309C78
tetradic
#78309C #9C4230 #549C30 #308A9C
square
#78309C #9C4230 #549C30 #308A9C
split-complementary
#78309C #8A9C30 #309C42
monochromatic
#30133E #54226D #78309C #9A44C5 #B373D4

Accessibility & contrast

On white

7.77
#78309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#78309C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78309C
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78309C#FFFFFF#000000##FFFFFF
##78309C1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#25549A
Tritanopia (blue-blind)
#744662
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #78309c;
/* rgb */ color: rgb(120, 48, 156);
/* oklch */ color: oklch(46.1% 0.173 312.2);
Tailwind
colors: {
  custom: {
    50: '#a36eba',
    500: '#78309c',
    950: '#000000',
  },
}
SCSS
$custom: #78309c;
$custom-light: #a36eba;
$custom-dark: #000000;
JSON
{
  "hex": "#78309c",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 280,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.46135,
    "c": 0.17294,
    "h": 312.2
  },
  "luminance": 0.08507
}

Semantic roles & 50–950 ramp

primary
#78309C
secondary
#87BC6C
accent
#DC4B7C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #78309C

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

Preview Lab → · Contrast checker → · Palette generator →

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