#79308F#79308F

#79308F is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.4% C 0.160 H 317.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#79308F
RGBrgb(121, 48, 143)
HSLhsl(286, 50%, 37%)
HSVhsv(286, 66%, 56%)
CMYKcmyk(15.4%, 66.4%, 0%, 43.9%)
CIE-LABlab(34.32, 46.53, -38.62)
CIE-LCHlch(34.32, 60.47, 320.31°)
OKLaboklab(45.39% 0.1181 -0.1082)
OKLCHoklch(45.39% 0.16 317.5)
XYZxyz(13.8993, 8.1626, 26.8247)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79308F #468F30
analogous
#49308F #79308F #8F3076
triadic
#79308F #8F7930 #308F79
tetradic
#79308F #8F4930 #468F30 #30768F
square
#79308F #8F4930 #468F30 #30768F
split-complementary
#79308F #768F30 #308F49
monochromatic
#2B1133 #522161 #79308F #A03FBD #B76CCE

Accessibility & contrast

On white

7.98
#79308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#79308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79308F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79308F#FFFFFF#000000##FFFFFF
##79308F1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4C92
Deuteranopia (green-blind)
#33538D
Tritanopia (blue-blind)
#78415B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #79308f;
/* rgb */ color: rgb(121, 48, 143);
/* oklch */ color: oklch(45.4% 0.160 317.5);
Tailwind
colors: {
  custom: {
    50: '#a36eb0',
    500: '#79308f',
    950: '#000000',
  },
}
SCSS
$custom: #79308f;
$custom-light: #a36eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#79308f",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 286.105,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45393,
    "c": 0.16019,
    "h": 317.5
  },
  "luminance": 0.08162
}

Semantic roles & 50–950 ramp

primary
#79308F
secondary
#78B566
accent
#D94F6F
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #79308F

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

Preview Lab → · Contrast checker → · Palette generator →

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