#792D94#792D94

#792D94 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.169 H 315.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#792D94
RGBrgb(121, 45, 148)
HSLhsl(284, 53%, 38%)
HSVhsv(284, 70%, 58%)
CMYKcmyk(18.2%, 69.6%, 0%, 42%)
CIE-LABlab(34.15, 48.95, -41.95)
CIE-LCHlch(34.15, 64.47, 319.40°)
OKLaboklab(45.37% 0.1214 -0.1179)
OKLCHoklch(45.37% 0.169 315.8)
XYZxyz(14.1680, 8.0804, 28.8246)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D94 #48942D
analogous
#452D94 #792D94 #942D7B
triadic
#792D94 #94792D #2D9479
tetradic
#792D94 #94452D #48942D #2D7B94
square
#792D94 #94452D #48942D #2D7B94
split-complementary
#792D94 #7B942D #2D9445
monochromatic
#2C1036 #531F65 #792D94 #9F3BC3 #B66AD2

Accessibility & contrast

On white

8.03
#792D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#792D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D94
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D94#FFFFFF#000000##FFFFFF
##792D941.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792d94;
/* rgb */ color: rgb(121, 45, 148);
/* oklch */ color: oklch(45.4% 0.169 315.8);
Tailwind
colors: {
  custom: {
    50: '#a36cb4',
    500: '#792d94',
    950: '#000000',
  },
}
SCSS
$custom: #792d94;
$custom-light: #a36cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#792d94",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 284.272,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45373,
    "c": 0.16928,
    "h": 315.8
  },
  "luminance": 0.0808
}

Semantic roles & 50–950 ramp

primary
#792D94
secondary
#7AB864
accent
#DD4B71
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792D94

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

Preview Lab → · Contrast checker → · Palette generator →

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