#78308F#78308F

#78308F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.3% C 0.160 H 317.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#78308F
RGBrgb(120, 48, 143)
HSLhsl(285, 50%, 37%)
HSVhsv(285, 66%, 56%)
CMYKcmyk(16.1%, 66.4%, 0%, 43.9%)
CIE-LABlab(34.17, 46.29, -38.87)
CIE-LCHlch(34.17, 60.44, 319.98°)
OKLaboklab(45.26% 0.1168 -0.1089)
OKLCHoklch(45.26% 0.16 317)
XYZxyz(13.7599, 8.0907, 26.8181)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78308F #478F30
analogous
#49308F #78308F #8F3076
triadic
#78308F #8F7830 #308F78
tetradic
#78308F #8F4930 #478F30 #30768F
square
#78308F #8F4930 #478F30 #30768F
split-complementary
#78308F #768F30 #308F49
monochromatic
#2B1133 #522161 #78308F #9E3FBD #B66CCE

Accessibility & contrast

On white

8.02
#78308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#78308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78308F
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78308F#FFFFFF#000000##FFFFFF
##78308F1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4C92
Deuteranopia (green-blind)
#32538D
Tritanopia (blue-blind)
#77415B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #78308f;
/* rgb */ color: rgb(120, 48, 143);
/* oklch */ color: oklch(45.3% 0.160 317.0);
Tailwind
colors: {
  custom: {
    50: '#a26eb0',
    500: '#78308f',
    950: '#000000',
  },
}
SCSS
$custom: #78308f;
$custom-light: #a26eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#78308f",
  "rgb": {
    "r": 120,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 285.474,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45255,
    "c": 0.15976,
    "h": 317
  },
  "luminance": 0.0809
}

Semantic roles & 50–950 ramp

primary
#78308F
secondary
#79B566
accent
#D94F70
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78308F

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

Preview Lab → · Contrast checker → · Palette generator →

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