#792C95#792C95

#792C95 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.172 H 315.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#792C95
RGBrgb(121, 44, 149)
HSLhsl(284, 54%, 38%)
HSVhsv(284, 70%, 58%)
CMYKcmyk(18.8%, 70.5%, 0%, 41.6%)
CIE-LABlab(34.06, 49.60, -42.71)
CIE-LCHlch(34.06, 65.45, 319.27°)
OKLaboklab(45.33% 0.1225 -0.1201)
OKLCHoklch(45.33% 0.172 315.5)
XYZxyz(14.2098, 8.0368, 29.2307)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C95 #48952C
analogous
#442C95 #792C95 #952C7C
triadic
#792C95 #95792C #2C9579
tetradic
#792C95 #95442C #48952C #2C7C95
square
#792C95 #95442C #48952C #2C7C95
split-complementary
#792C95 #7C952C #2C9544
monochromatic
#2C1037 #531E66 #792C95 #9F3AC4 #B669D3

Accessibility & contrast

On white

8.05
#792C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#792C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C95
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C95#FFFFFF#000000##FFFFFF
##792C951.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792c95;
/* rgb */ color: rgb(121, 44, 149);
/* oklch */ color: oklch(45.3% 0.172 315.5);
Tailwind
colors: {
  custom: {
    50: '#a36cb5',
    500: '#792c95',
    950: '#000000',
  },
}
SCSS
$custom: #792c95;
$custom-light: #a36cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#792c95",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 284,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4533,
    "c": 0.17157,
    "h": 315.5
  },
  "luminance": 0.08036
}

Semantic roles & 50–950 ramp

primary
#792C95
secondary
#7AB964
accent
#DE4A71
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792C95

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

Preview Lab → · Contrast checker → · Palette generator →

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