#792E95#792E95

#792E95 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.169 H 315.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#792E95
RGBrgb(121, 46, 149)
HSLhsl(284, 53%, 38%)
HSVhsv(284, 69%, 58%)
CMYKcmyk(18.8%, 69.1%, 0%, 41.6%)
CIE-LABlab(34.37, 48.71, -42.20)
CIE-LCHlch(34.37, 64.45, 319.10°)
OKLaboklab(45.56% 0.1202 -0.1187)
OKLCHoklch(45.56% 0.169 315.4)
XYZxyz(14.2861, 8.1894, 29.2561)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E95 #4A952E
analogous
#452E95 #792E95 #952E7D
triadic
#792E95 #95792E #2E9579
tetradic
#792E95 #95452E #4A952E #2E7D95
square
#792E95 #95452E #4A952E #2E7D95
split-complementary
#792E95 #7D952E #2E9545
monochromatic
#2D1137 #532066 #792E95 #9F3DC3 #B66CD2

Accessibility & contrast

On white

7.96
#792E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#792E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E95
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E95#FFFFFF#000000##FFFFFF
##792E951.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792e95;
/* rgb */ color: rgb(121, 46, 149);
/* oklch */ color: oklch(45.6% 0.169 315.4);
Tailwind
colors: {
  custom: {
    50: '#a36db5',
    500: '#792e95',
    950: '#000000',
  },
}
SCSS
$custom: #792e95;
$custom-light: #a36db5;
$custom-dark: #000000;
JSON
{
  "hex": "#792e95",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 283.689,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45555,
    "c": 0.16893,
    "h": 315.4
  },
  "luminance": 0.08189
}

Semantic roles & 50–950 ramp

primary
#792E95
secondary
#7DB966
accent
#DC4C73
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792E95

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

Preview Lab → · Contrast checker → · Palette generator →

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