#79338F#79338F

#79338F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.8% C 0.156 H 317.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#79338F
RGBrgb(121, 51, 143)
HSLhsl(286, 47%, 38%)
HSVhsv(286, 64%, 56%)
CMYKcmyk(15.4%, 64.3%, 0%, 43.9%)
CIE-LABlab(34.84, 45.11, -37.80)
CIE-LCHlch(34.84, 58.85, 320.04°)
OKLaboklab(45.77% 0.1144 -0.1058)
OKLCHoklch(45.77% 0.156 317.2)
XYZxyz(14.0262, 8.4163, 26.8669)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79338F #498F33
analogous
#4B338F #79338F #8F3377
triadic
#79338F #8F7933 #338F79
tetradic
#79338F #8F4B33 #498F33 #33778F
square
#79338F #8F4B33 #498F33 #33778F
split-complementary
#79338F #778F33 #338F4B
monochromatic
#2D1335 #532362 #79338F #9F43BC #B670CC

Accessibility & contrast

On white

7.83
#79338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79338F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79338F#FFFFFF#000000##FFFFFF
##79338F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D92
Deuteranopia (green-blind)
#35548D
Tritanopia (blue-blind)
#78435C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #79338f;
/* rgb */ color: rgb(121, 51, 143);
/* oklch */ color: oklch(45.8% 0.156 317.2);
Tailwind
colors: {
  custom: {
    50: '#a26fb0',
    500: '#79338f',
    950: '#000000',
  },
}
SCSS
$custom: #79338f;
$custom-light: #a26fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#79338f",
  "rgb": {
    "r": 121,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 285.652,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45765,
    "c": 0.15583,
    "h": 317.2
  },
  "luminance": 0.08416
}

Semantic roles & 50–950 ramp

primary
#79338F
secondary
#7BB46A
accent
#D75171
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #79338F

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

Preview Lab → · Contrast checker → · Palette generator →

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