#79318D#79318D

#79318D is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.4% C 0.157 H 318.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#79318D
RGBrgb(121, 49, 141)
HSLhsl(287, 48%, 37%)
HSVhsv(287, 65%, 55%)
CMYKcmyk(14.2%, 65.2%, 0%, 44.7%)
CIE-LABlab(34.37, 45.64, -37.32)
CIE-LCHlch(34.37, 58.96, 320.73°)
OKLaboklab(45.39% 0.1169 -0.1044)
OKLCHoklch(45.39% 0.157 318.2)
XYZxyz(13.7905, 8.1852, 26.0476)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79318D #458D31
analogous
#4B318D #79318D #8D3173
triadic
#79318D #8D7931 #318D79
tetradic
#79318D #8D4B31 #458D31 #31738D
square
#79318D #8D4B31 #458D31 #31738D
split-complementary
#79318D #738D31 #318D4B
monochromatic
#2B1132 #522160 #79318D #A041BA #B76CCC

Accessibility & contrast

On white

7.96
#79318D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#79318D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79318D
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79318D#FFFFFF#000000##FFFFFF
##79318D1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144C90
Deuteranopia (green-blind)
#35538B
Tritanopia (blue-blind)
#79415A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #79318d;
/* rgb */ color: rgb(121, 49, 141);
/* oklch */ color: oklch(45.4% 0.157 318.2);
Tailwind
colors: {
  custom: {
    50: '#a26eaf',
    500: '#79318d',
    950: '#000000',
  },
}
SCSS
$custom: #79318d;
$custom-light: #a26eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#79318d",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 286.957,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45386,
    "c": 0.15675,
    "h": 318.2
  },
  "luminance": 0.08185
}

Semantic roles & 50–950 ramp

primary
#79318D
secondary
#77B466
accent
#D8506D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #79318D

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

Preview Lab → · Contrast checker → · Palette generator →

#79318D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva