#79408D#79408D

#79408D is a mid, vivid purple. Relative luminance 0.097; OKLCH L 47.5% C 0.133 H 316.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#79408D
RGBrgb(121, 64, 141)
HSLhsl(284, 38%, 40%)
HSVhsv(284, 55%, 55%)
CMYKcmyk(14.2%, 54.6%, 0%, 44.7%)
CIE-LABlab(37.22, 37.94, -32.79)
CIE-LCHlch(37.22, 50.15, 319.16°)
OKLaboklab(47.47% 0.0966 -0.0913)
OKLCHoklch(47.47% 0.133 316.6)
XYZxyz(14.5256, 9.6553, 26.2926)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79408D #548D40
analogous
#53408D #79408D #8D407A
triadic
#79408D #8D7940 #408D79
tetradic
#79408D #8D5340 #548D40 #407A8D
square
#79408D #8D5340 #548D40 #407A8D
split-complementary
#79408D #7A8D40 #408D53
monochromatic
#311A39 #552D63 #79408D #9B57B3 #B481C6

Accessibility & contrast

On white

7.16
#79408D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#79408D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79408D
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79408D#FFFFFF#000000##FFFFFF
##79408D1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5490
Deuteranopia (green-blind)
#41598B
Tritanopia (blue-blind)
#784C60
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #79408d;
/* rgb */ color: rgb(121, 64, 141);
/* oklch */ color: oklch(47.5% 0.133 316.6);
Tailwind
colors: {
  custom: {
    50: '#a277af',
    500: '#79408d',
    950: '#000000',
  },
}
SCSS
$custom: #79408d;
$custom-light: #a277af;
$custom-dark: #000000;
JSON
{
  "hex": "#79408d",
  "rgb": {
    "r": 121,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 284.416,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47467,
    "c": 0.13295,
    "h": 316.6
  },
  "luminance": 0.09655
}

Semantic roles & 50–950 ramp

primary
#79408D
secondary
#87B078
accent
#CE5A78
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #79408D

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

Preview Lab → · Contrast checker → · Palette generator →

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