#79248A#79248A

#79248A is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.171 H 320.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#79248A
RGBrgb(121, 36, 138)
HSLhsl(290, 59%, 34%)
HSVhsv(290, 74%, 54%)
CMYKcmyk(12.3%, 73.9%, 0%, 45.9%)
CIE-LABlab(32.17, 50.65, -38.97)
CIE-LCHlch(32.17, 63.91, 322.42°)
OKLaboklab(43.75% 0.1319 -0.1091)
OKLCHoklch(43.75% 0.171 320.4)
XYZxyz(13.1029, 7.1624, 24.7321)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79248A #358A24
analogous
#46248A #79248A #8A2468
triadic
#79248A #8A7924 #248A79
tetradic
#79248A #8A4624 #358A24 #24688A
square
#79248A #8A4624 #358A24 #24688A
split-complementary
#79248A #688A24 #248A46
monochromatic
#240B29 #4E1759 #79248A #A431BB #BE56D3

Accessibility & contrast

On white

8.63
#79248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#79248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79248A
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79248A#FFFFFF#000000##FFFFFF
##79248A1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#2E4F88
Tritanopia (blue-blind)
#7A3855
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #79248a;
/* rgb */ color: rgb(121, 36, 138);
/* oklch */ color: oklch(43.8% 0.171 320.4);
Tailwind
colors: {
  custom: {
    50: '#a368ad',
    500: '#79248a',
    950: '#000000',
  },
}
SCSS
$custom: #79248a;
$custom-light: #a368ad;
$custom-dark: #000000;
JSON
{
  "hex": "#79248a",
  "rgb": {
    "r": 121,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 290,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43752,
    "c": 0.1712,
    "h": 320.4
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#79248A
secondary
#63B753
accent
#E24660
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #79248A

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

Preview Lab → · Contrast checker → · Palette generator →

#79248A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva