#79308C#79308C

#79308C is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.2% C 0.157 H 318.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#79308C
RGBrgb(121, 48, 140)
HSLhsl(288, 49%, 37%)
HSVhsv(288, 66%, 55%)
CMYKcmyk(13.6%, 65.7%, 0%, 45.1%)
CIE-LABlab(34.13, 45.90, -37.07)
CIE-LCHlch(34.13, 59.00, 321.08°)
OKLaboklab(45.2% 0.1182 -0.1037)
OKLCHoklch(45.2% 0.157 318.7)
XYZxyz(13.6751, 8.0729, 25.6437)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79308C #438C30
analogous
#4B308C #79308C #8C3071
triadic
#79308C #8C7930 #308C79
tetradic
#79308C #8C4B30 #438C30 #30718C
square
#79308C #8C4B30 #438C30 #30718C
split-complementary
#79308C #718C30 #308C4B
monochromatic
#2A1131 #52205E #79308C #A040BA #B86ACC

Accessibility & contrast

On white

8.03
#79308C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#79308C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79308C
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79308C#FFFFFF#000000##FFFFFF
##79308C1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134B8F
Deuteranopia (green-blind)
#35538A
Tritanopia (blue-blind)
#794059
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #79308c;
/* rgb */ color: rgb(121, 48, 140);
/* oklch */ color: oklch(45.2% 0.157 318.7);
Tailwind
colors: {
  custom: {
    50: '#a26eae',
    500: '#79308c',
    950: '#000000',
  },
}
SCSS
$custom: #79308c;
$custom-light: #a26eae;
$custom-dark: #000000;
JSON
{
  "hex": "#79308c",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 287.609,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.452,
    "c": 0.15721,
    "h": 318.7
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#79308C
secondary
#75B364
accent
#D84F6C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #79308C

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

Preview Lab → · Contrast checker → · Palette generator →

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