#79318F#79318F

#79318F is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.5% C 0.159 H 317.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#79318F
RGBrgb(121, 49, 143)
HSLhsl(286, 49%, 38%)
HSVhsv(286, 66%, 56%)
CMYKcmyk(15.4%, 65.7%, 0%, 43.9%)
CIE-LABlab(34.49, 46.06, -38.35)
CIE-LCHlch(34.49, 59.94, 320.22°)
OKLaboklab(45.52% 0.1169 -0.1074)
OKLCHoklch(45.52% 0.159 317.4)
XYZxyz(13.9407, 8.2453, 26.8384)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79318F #478F31
analogous
#4A318F #79318F #8F3176
triadic
#79318F #8F7931 #318F79
tetradic
#79318F #8F4A31 #478F31 #31768F
square
#79318F #8F4A31 #478F31 #31768F
split-complementary
#79318F #768F31 #318F4A
monochromatic
#2C1234 #522161 #79318F #A041BD #B76DCD

Accessibility & contrast

On white

7.93
#79318F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#79318F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79318F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79318F#FFFFFF#000000##FFFFFF
##79318F1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104D92
Deuteranopia (green-blind)
#34538D
Tritanopia (blue-blind)
#78425B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #79318f;
/* rgb */ color: rgb(121, 49, 143);
/* oklch */ color: oklch(45.5% 0.159 317.4);
Tailwind
colors: {
  custom: {
    50: '#a36eb0',
    500: '#79318f',
    950: '#000000',
  },
}
SCSS
$custom: #79318f;
$custom-light: #a36eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#79318f",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 285.957,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45515,
    "c": 0.15876,
    "h": 317.4
  },
  "luminance": 0.08245
}

Semantic roles & 50–950 ramp

primary
#79318F
secondary
#79B567
accent
#D94F6F
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #79318F

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

Preview Lab → · Contrast checker → · Palette generator →

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