#792D95#792D95

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

Color values

HEX#792D95
RGBrgb(121, 45, 149)
HSLhsl(284, 54%, 38%)
HSVhsv(284, 70%, 58%)
CMYKcmyk(18.8%, 69.8%, 0%, 41.6%)
CIE-LABlab(34.22, 49.16, -42.46)
CIE-LCHlch(34.22, 64.96, 319.18°)
OKLaboklab(45.44% 0.1214 -0.1194)
OKLCHoklch(45.44% 0.17 315.5)
XYZxyz(14.2475, 8.1122, 29.2432)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D95 #49952D
analogous
#452D95 #792D95 #952D7D
triadic
#792D95 #95792D #2D9579
tetradic
#792D95 #95452D #49952D #2D7D95
square
#792D95 #95452D #49952D #2D7D95
split-complementary
#792D95 #7D952D #2D9545
monochromatic
#2D1137 #531F66 #792D95 #9F3BC4 #B66AD2

Accessibility & contrast

On white

8.01
#792D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792D95
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D95#FFFFFF#000000##FFFFFF
##792D951.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#2B5393
Tritanopia (blue-blind)
#77425D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792d95;
/* rgb */ color: rgb(121, 45, 149);
/* oklch */ color: oklch(45.4% 0.170 315.5);
Tailwind
colors: {
  custom: {
    50: '#a36cb5',
    500: '#792d95',
    950: '#000000',
  },
}
SCSS
$custom: #792d95;
$custom-light: #a36cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#792d95",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 283.846,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45441,
    "c": 0.17026,
    "h": 315.5
  },
  "luminance": 0.08112
}

Semantic roles & 50–950 ramp

primary
#792D95
secondary
#7BB965
accent
#DD4B72
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792D95

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

Preview Lab → · Contrast checker → · Palette generator →

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