#79338E#79338E

#79338E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.7% C 0.155 H 317.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#79338E
RGBrgb(121, 51, 142)
HSLhsl(286, 47%, 38%)
HSVhsv(286, 64%, 56%)
CMYKcmyk(14.8%, 64.1%, 0%, 44.3%)
CIE-LABlab(34.77, 44.89, -37.28)
CIE-LCHlch(34.77, 58.35, 320.29°)
OKLaboklab(45.7% 0.1144 -0.1043)
OKLCHoklch(45.7% 0.155 317.6)
XYZxyz(13.9508, 8.3862, 26.4698)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79338E #488E33
analogous
#4C338E #79338E #8E3375
triadic
#79338E #8E7933 #338E79
tetradic
#79338E #8E4C33 #488E33 #33758E
square
#79338E #8E4C33 #488E33 #33758E
split-complementary
#79338E #758E33 #338E4C
monochromatic
#2C1334 #532361 #79338E #9F43BB #B670CC

Accessibility & contrast

On white

7.84
#79338E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#79338E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79338E
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79338E#FFFFFF#000000##FFFFFF
##79338E1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D91
Deuteranopia (green-blind)
#36548C
Tritanopia (blue-blind)
#78435C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #79338e;
/* rgb */ color: rgb(121, 51, 142);
/* oklch */ color: oklch(45.7% 0.155 317.6);
Tailwind
colors: {
  custom: {
    50: '#a26faf',
    500: '#79338e',
    950: '#000000',
  },
}
SCSS
$custom: #79338e;
$custom-light: #a26faf;
$custom-dark: #000000;
JSON
{
  "hex": "#79338e",
  "rgb": {
    "r": 121,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 286.154,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45702,
    "c": 0.15481,
    "h": 317.6
  },
  "luminance": 0.08386
}

Semantic roles & 50–950 ramp

primary
#79338E
secondary
#7AB469
accent
#D75170
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #79338E

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

Preview Lab → · Contrast checker → · Palette generator →

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