#78308E#78308E

#78308E is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.2% C 0.159 H 317.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#78308E
RGBrgb(120, 48, 142)
HSLhsl(286, 49%, 37%)
HSVhsv(286, 66%, 56%)
CMYKcmyk(15.5%, 66.2%, 0%, 44.3%)
CIE-LABlab(34.11, 46.07, -38.35)
CIE-LCHlch(34.11, 59.95, 320.23°)
OKLaboklab(45.19% 0.1169 -0.1074)
OKLCHoklch(45.19% 0.159 317.4)
XYZxyz(13.6845, 8.0605, 26.4209)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78308E #468E30
analogous
#49308E #78308E #8E3075
triadic
#78308E #8E7830 #308E78
tetradic
#78308E #8E4930 #468E30 #30758E
square
#78308E #8E4930 #468E30 #30758E
split-complementary
#78308E #758E30 #308E49
monochromatic
#2B1133 #512160 #78308E #9F3FBC #B66BCD

Accessibility & contrast

On white

8.04
#78308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#78308E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78308E
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78308E#FFFFFF#000000##FFFFFF
##78308E1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4C91
Deuteranopia (green-blind)
#33528C
Tritanopia (blue-blind)
#77415B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #78308e;
/* rgb */ color: rgb(120, 48, 142);
/* oklch */ color: oklch(45.2% 0.159 317.4);
Tailwind
colors: {
  custom: {
    50: '#a26eaf',
    500: '#78308e',
    950: '#000000',
  },
}
SCSS
$custom: #78308e;
$custom-light: #a26eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#78308e",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 285.957,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4519,
    "c": 0.15874,
    "h": 317.4
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

primary
#78308E
secondary
#78B465
accent
#D94F6F
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78308E

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

Preview Lab → · Contrast checker → · Palette generator →

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