#792A95#792A95

#792A95 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.174 H 315.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#792A95
RGBrgb(121, 42, 149)
HSLhsl(284, 56%, 37%)
HSVhsv(284, 72%, 58%)
CMYKcmyk(18.8%, 71.8%, 0%, 41.6%)
CIE-LABlab(33.76, 50.45, -43.20)
CIE-LCHlch(33.76, 66.42, 319.43°)
OKLaboklab(45.11% 0.1247 -0.1216)
OKLCHoklch(45.11% 0.174 315.7)
XYZxyz(14.1371, 7.8913, 29.2064)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A95 #46952A
analogous
#432A95 #792A95 #952A7C
triadic
#792A95 #95792A #2A9579
tetradic
#792A95 #95432A #46952A #2A7C95
square
#792A95 #95432A #46952A #2A7C95
split-complementary
#792A95 #7C952A #2A9543
monochromatic
#2B0F36 #521D65 #792A95 #A037C5 #B766D4

Accessibility & contrast

On white

8.15
#792A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#792A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792A95
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A95#FFFFFF#000000##FFFFFF
##792A951.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#285293
Tritanopia (blue-blind)
#77405D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792a95;
/* rgb */ color: rgb(121, 42, 149);
/* oklch */ color: oklch(45.1% 0.174 315.7);
Tailwind
colors: {
  custom: {
    50: '#a36bb5',
    500: '#792a95',
    950: '#000000',
  },
}
SCSS
$custom: #792a95;
$custom-light: #a36bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#792a95",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 284.299,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45112,
    "c": 0.17412,
    "h": 315.7
  },
  "luminance": 0.07891
}

Semantic roles & 50–950 ramp

primary
#792A95
secondary
#78BA61
accent
#DF4870
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792A95

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

Preview Lab → · Contrast checker → · Palette generator →

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