#78307C#78307C

#78307C is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.1% C 0.141 H 325.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#78307C
RGBrgb(120, 48, 124)
HSLhsl(297, 44%, 34%)
HSVhsv(297, 61%, 49%)
CMYKcmyk(3.2%, 61.3%, 0%, 51.4%)
CIE-LABlab(33.06, 42.42, -28.86)
CIE-LCHlch(33.06, 51.31, 325.77°)
OKLaboklab(44.09% 0.1163 -0.0798)
OKLCHoklch(44.09% 0.141 325.5)
XYZxyz(12.4405, 7.5629, 19.8694)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78307C #347C30
analogous
#52307C #78307C #7C305A
triadic
#78307C #7C7830 #307C78
tetradic
#78307C #7C5230 #347C30 #305A7C
square
#78307C #7C5230 #347C30 #305A7C
split-complementary
#78307C #5A7C30 #307C52
monochromatic
#230E24 #4D1F50 #78307C #A341A8 #BE64C3

Accessibility & contrast

On white

8.36
#78307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#78307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78307C
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78307C#FFFFFF#000000##FFFFFF
##78307C1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487E
Deuteranopia (green-blind)
#3E517A
Tritanopia (blue-blind)
#7B3A51
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78307c;
/* rgb */ color: rgb(120, 48, 124);
/* oklch */ color: oklch(44.1% 0.141 325.5);
Tailwind
colors: {
  custom: {
    50: '#a16da2',
    500: '#78307c',
    950: '#000000',
  },
}
SCSS
$custom: #78307c;
$custom-light: #a16da2;
$custom-dark: #000000;
JSON
{
  "hex": "#78307c",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 296.842,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44086,
    "c": 0.14107,
    "h": 325.5
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#78307C
secondary
#62AA5E
accent
#D4545B
background
#FAF6FA
surface
#F4ECF3
border
#CEC7CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #78307C

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

Preview Lab → · Contrast checker → · Palette generator →

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