#79308E#79308E

#79308E is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.3% C 0.159 H 317.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#79308E
RGBrgb(121, 48, 142)
HSLhsl(287, 49%, 37%)
HSVhsv(287, 66%, 56%)
CMYKcmyk(14.8%, 66.2%, 0%, 44.3%)
CIE-LABlab(34.26, 46.32, -38.11)
CIE-LCHlch(34.26, 59.98, 320.56°)
OKLaboklab(45.33% 0.1182 -0.1067)
OKLCHoklch(45.33% 0.159 317.9)
XYZxyz(13.8239, 8.1324, 26.4275)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79308E #458E30
analogous
#4A308E #79308E #8E3074
triadic
#79308E #8E7930 #308E79
tetradic
#79308E #8E4A30 #458E30 #30748E
square
#79308E #8E4A30 #458E30 #30748E
split-complementary
#79308E #748E30 #308E4A
monochromatic
#2B1133 #522160 #79308E #A03FBC #B76BCD

Accessibility & contrast

On white

8.00
#79308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79308E
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79308E#FFFFFF#000000##FFFFFF
##79308E1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4C91
Deuteranopia (green-blind)
#34538C
Tritanopia (blue-blind)
#78415B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #79308e;
/* rgb */ color: rgb(121, 48, 142);
/* oklch */ color: oklch(45.3% 0.159 317.9);
Tailwind
colors: {
  custom: {
    50: '#a36eaf',
    500: '#79308e',
    950: '#000000',
  },
}
SCSS
$custom: #79308e;
$custom-light: #a36eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#79308e",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 286.596,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45328,
    "c": 0.1592,
    "h": 317.9
  },
  "luminance": 0.08132
}

Semantic roles & 50–950 ramp

primary
#79308E
secondary
#77B465
accent
#D94F6E
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #79308E

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

Preview Lab → · Contrast checker → · Palette generator →

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