#792D96#792D96

#792D96 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.5% C 0.171 H 315.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#792D96
RGBrgb(121, 45, 150)
HSLhsl(283, 54%, 38%)
HSVhsv(283, 70%, 59%)
CMYKcmyk(19.3%, 70%, 0%, 41.2%)
CIE-LABlab(34.28, 49.37, -42.96)
CIE-LCHlch(34.28, 65.45, 318.97°)
OKLaboklab(45.51% 0.1213 -0.1209)
OKLCHoklch(45.51% 0.171 315.1)
XYZxyz(14.3277, 8.1442, 29.6655)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D96 #4A962D
analogous
#452D96 #792D96 #962D7E
triadic
#792D96 #96792D #2D9679
tetradic
#792D96 #96452D #4A962D #2D7E96
square
#792D96 #96452D #4A962D #2D7E96
split-complementary
#792D96 #7E962D #2D9645
monochromatic
#2D1138 #531F67 #792D96 #9F3CC4 #B66BD3

Accessibility & contrast

On white

7.99
#792D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#792D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D96
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D96#FFFFFF#000000##FFFFFF
##792D961.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#2A5394
Tritanopia (blue-blind)
#77425E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #792d96;
/* rgb */ color: rgb(121, 45, 150);
/* oklch */ color: oklch(45.5% 0.171 315.1);
Tailwind
colors: {
  custom: {
    50: '#a36cb5',
    500: '#792d96',
    950: '#000000',
  },
}
SCSS
$custom: #792d96;
$custom-light: #a36cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#792d96",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 283.429,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4551,
    "c": 0.17125,
    "h": 315.1
  },
  "luminance": 0.08144
}

Semantic roles & 50–950 ramp

primary
#792D96
secondary
#7DB965
accent
#DD4B73
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792D96

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

Preview Lab → · Contrast checker → · Palette generator →

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