#79239D#79239D

#79239D is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.190 H 313.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#79239D
RGBrgb(121, 35, 157)
HSLhsl(282, 64%, 38%)
HSVhsv(282, 78%, 62%)
CMYKcmyk(22.9%, 77.7%, 0%, 38.4%)
CIE-LABlab(33.35, 54.87, -48.72)
CIE-LCHlch(33.35, 73.38, 318.40°)
OKLaboklab(45.01% 0.1305 -0.1377)
OKLCHoklch(45.01% 0.19 313.4)
XYZxyz(14.5709, 7.7018, 32.6108)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79239D #479D23
analogous
#3C239D #79239D #9D2384
triadic
#79239D #9D7923 #239D79
tetradic
#79239D #9D3C23 #479D23 #23849D
square
#79239D #9D3C23 #479D23 #23849D
split-complementary
#79239D #849D23 #239D3C
monochromatic
#2C0D39 #52186B #79239D #A02ECF #B75FDB

Accessibility & contrast

On white

8.27
#79239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#79239D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79239D
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79239D#FFFFFF#000000##FFFFFF
##79239D1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#16509A
Tritanopia (blue-blind)
#753F5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #79239d;
/* rgb */ color: rgb(121, 35, 157);
/* oklch */ color: oklch(45.0% 0.190 313.4);
Tailwind
colors: {
  custom: {
    50: '#a468bb',
    500: '#79239d',
    950: '#000000',
  },
}
SCSS
$custom: #79239d;
$custom-light: #a468bb;
$custom-dark: #000000;
JSON
{
  "hex": "#79239d",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 282.295,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45005,
    "c": 0.18969,
    "h": 313.4
  },
  "luminance": 0.07701
}

Semantic roles & 50–950 ramp

primary
#79239D
secondary
#79C05C
accent
#E74172
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #79239D

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

Preview Lab → · Contrast checker → · Palette generator →

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