#78307E#78307E

#78307E is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.2% C 0.143 H 324.5°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#78307E
RGBrgb(120, 48, 126)
HSLhsl(295, 45%, 34%)
HSVhsv(295, 62%, 49%)
CMYKcmyk(4.8%, 61.9%, 0%, 50.6%)
CIE-LABlab(33.17, 42.81, -29.94)
CIE-LCHlch(33.17, 52.24, 325.03°)
OKLaboklab(44.2% 0.1165 -0.0829)
OKLCHoklch(44.2% 0.143 324.5)
XYZxyz(12.5683, 7.6140, 20.5423)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78307E #367E30
analogous
#51307E #78307E #7E305D
triadic
#78307E #7E7830 #307E78
tetradic
#78307E #7E5130 #367E30 #305D7E
square
#78307E #7E5130 #367E30 #305D7E
split-complementary
#78307E #5D7E30 #307E51
monochromatic
#240E25 #4E1F52 #78307E #A241AA #BD64C4

Accessibility & contrast

On white

8.32
#78307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#78307E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78307E
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78307E#FFFFFF#000000##FFFFFF
##78307E1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234880
Deuteranopia (green-blind)
#3D517C
Tritanopia (blue-blind)
#7A3B52
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78307e;
/* rgb */ color: rgb(120, 48, 126);
/* oklch */ color: oklch(44.2% 0.143 324.5);
Tailwind
colors: {
  custom: {
    50: '#a16da4',
    500: '#78307e',
    950: '#000000',
  },
}
SCSS
$custom: #78307e;
$custom-light: #a16da4;
$custom-dark: #000000;
JSON
{
  "hex": "#78307e",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 295.385,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44202,
    "c": 0.14299,
    "h": 324.5
  },
  "luminance": 0.07613
}

Semantic roles & 50–950 ramp

primary
#78307E
secondary
#64AB5F
accent
#D5535D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #78307E

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

Preview Lab → · Contrast checker → · Palette generator →

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