#79338C#79338C

#79338C is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.6% C 0.153 H 318.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#79338C
RGBrgb(121, 51, 140)
HSLhsl(287, 47%, 37%)
HSVhsv(287, 64%, 55%)
CMYKcmyk(13.6%, 63.6%, 0%, 45.1%)
CIE-LABlab(34.65, 44.47, -36.24)
CIE-LCHlch(34.65, 57.37, 320.82°)
OKLaboklab(45.58% 0.1144 -0.1013)
OKLCHoklch(45.58% 0.153 318.5)
XYZxyz(13.8020, 8.3266, 25.6860)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79338C #468C33
analogous
#4C338C #79338C #8C3373
triadic
#79338C #8C7933 #338C79
tetradic
#79338C #8C4C33 #468C33 #33738C
square
#79338C #8C4C33 #468C33 #33738C
split-complementary
#79338C #738C33 #338C4C
monochromatic
#2B1232 #52235F #79338C #A043B9 #B76FCB

Accessibility & contrast

On white

7.88
#79338C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#79338C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79338C
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79338C#FFFFFF#000000##FFFFFF
##79338C1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4D8F
Deuteranopia (green-blind)
#38548A
Tritanopia (blue-blind)
#79425B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #79338c;
/* rgb */ color: rgb(121, 51, 140);
/* oklch */ color: oklch(45.6% 0.153 318.5);
Tailwind
colors: {
  custom: {
    50: '#a26fae',
    500: '#79338c',
    950: '#000000',
  },
}
SCSS
$custom: #79338c;
$custom-light: #a26fae;
$custom-dark: #000000;
JSON
{
  "hex": "#79338c",
  "rgb": {
    "r": 121,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 287.191,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45576,
    "c": 0.15278,
    "h": 318.5
  },
  "luminance": 0.08326
}

Semantic roles & 50–950 ramp

primary
#79338C
secondary
#78B268
accent
#D6526E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #79338C

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

Preview Lab → · Contrast checker → · Palette generator →

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