#792F83#792F83

#792F83 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.150 H 322.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#792F83
RGBrgb(121, 47, 131)
HSLhsl(293, 47%, 35%)
HSVhsv(293, 64%, 51%)
CMYKcmyk(7.6%, 64.1%, 0%, 48.6%)
CIE-LABlab(33.43, 44.54, -32.63)
CIE-LCHlch(33.43, 55.21, 323.78°)
OKLaboklab(44.52% 0.1193 -0.0907)
OKLCHoklch(44.52% 0.15 322.8)
XYZxyz(12.9980, 7.7374, 22.2771)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F83 #39832F
analogous
#4F2F83 #792F83 #832F63
triadic
#792F83 #83792F #2F8379
tetradic
#792F83 #834F2F #39832F #2F6383
square
#792F83 #834F2F #39832F #2F6383
split-complementary
#792F83 #63832F #2F834F
monochromatic
#260F29 #4F1F56 #792F83 #A33FB0 #BC65C8

Accessibility & contrast

On white

8.24
#792F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#792F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F83
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F83#FFFFFF#000000##FFFFFF
##792F831.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4986
Deuteranopia (green-blind)
#3A5281
Tritanopia (blue-blind)
#7B3C54
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792f83;
/* rgb */ color: rgb(121, 47, 131);
/* oklch */ color: oklch(44.5% 0.150 322.8);
Tailwind
colors: {
  custom: {
    50: '#a26da7',
    500: '#792f83',
    950: '#000000',
  },
}
SCSS
$custom: #792f83;
$custom-light: #a26da7;
$custom-dark: #000000;
JSON
{
  "hex": "#792f83",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 292.857,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44517,
    "c": 0.14986,
    "h": 322.8
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

primary
#792F83
secondary
#69AF5F
accent
#D75161
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792F83

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

Preview Lab → · Contrast checker → · Palette generator →

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