#79248C#79248C

#79248C is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.173 H 319.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#79248C
RGBrgb(121, 36, 140)
HSLhsl(289, 59%, 35%)
HSVhsv(289, 74%, 55%)
CMYKcmyk(13.6%, 74.3%, 0%, 45.1%)
CIE-LABlab(32.30, 51.04, -40.00)
CIE-LCHlch(32.30, 64.85, 321.92°)
OKLaboklab(43.89% 0.1318 -0.1121)
OKLCHoklch(43.89% 0.173 319.6)
XYZxyz(13.2491, 7.2208, 25.5017)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79248C #378C24
analogous
#45248C #79248C #8C246B
triadic
#79248C #8C7924 #248C79
tetradic
#79248C #8C4524 #378C24 #246B8C
square
#79248C #8C4524 #378C24 #246B8C
split-complementary
#79248C #6B8C24 #248C45
monochromatic
#250B2B #4F175B #79248C #A331BD #BD57D4

Accessibility & contrast

On white

8.59
#79248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#79248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79248C
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79248C#FFFFFF#000000##FFFFFF
##79248C1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#2C4F8A
Tritanopia (blue-blind)
#793856
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #79248c;
/* rgb */ color: rgb(121, 36, 140);
/* oklch */ color: oklch(43.9% 0.173 319.6);
Tailwind
colors: {
  custom: {
    50: '#a368ae',
    500: '#79248c',
    950: '#000000',
  },
}
SCSS
$custom: #79248c;
$custom-light: #a368ae;
$custom-dark: #000000;
JSON
{
  "hex": "#79248c",
  "rgb": {
    "r": 121,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 289.038,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43887,
    "c": 0.17302,
    "h": 319.6
  },
  "luminance": 0.0722
}

Semantic roles & 50–950 ramp

primary
#79248C
secondary
#66B854
accent
#E24662
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #79248C

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

Preview Lab → · Contrast checker → · Palette generator →

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