#792C94#792C94

#792C94 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.171 H 315.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#792C94
RGBrgb(121, 44, 148)
HSLhsl(284, 54%, 38%)
HSVhsv(284, 70%, 58%)
CMYKcmyk(18.2%, 70.3%, 0%, 42%)
CIE-LABlab(33.99, 49.39, -42.21)
CIE-LCHlch(33.99, 64.96, 319.48°)
OKLaboklab(45.26% 0.1226 -0.1187)
OKLCHoklch(45.26% 0.171 315.9)
XYZxyz(14.1303, 8.0050, 28.8120)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C94 #47942C
analogous
#452C94 #792C94 #942C7B
triadic
#792C94 #94792C #2C9479
tetradic
#792C94 #94452C #47942C #2C7B94
square
#792C94 #94452C #47942C #2C7B94
split-complementary
#792C94 #7B942C #2C9445
monochromatic
#2C1036 #521E65 #792C94 #A03AC3 #B768D2

Accessibility & contrast

On white

8.07
#792C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#792C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C94
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C94#FFFFFF#000000##FFFFFF
##792C941.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#2B5292
Tritanopia (blue-blind)
#77415D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792c94;
/* rgb */ color: rgb(121, 44, 148);
/* oklch */ color: oklch(45.3% 0.171 315.9);
Tailwind
colors: {
  custom: {
    50: '#a36cb4',
    500: '#792c94',
    950: '#000000',
  },
}
SCSS
$custom: #792c94;
$custom-light: #a36cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#792c94",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 284.423,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45261,
    "c": 0.17059,
    "h": 315.9
  },
  "luminance": 0.08004
}

Semantic roles & 50–950 ramp

primary
#792C94
secondary
#79B963
accent
#DE4A71
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792C94

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

Preview Lab → · Contrast checker → · Palette generator →

#792C94 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva