#792A93#792A93

#792A93 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.172 H 316.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#792A93
RGBrgb(121, 42, 147)
HSLhsl(285, 56%, 37%)
HSVhsv(285, 71%, 58%)
CMYKcmyk(17.7%, 71.4%, 0%, 42.4%)
CIE-LABlab(33.62, 50.04, -42.19)
CIE-LCHlch(33.62, 65.45, 319.86°)
OKLaboklab(44.98% 0.1248 -0.1186)
OKLCHoklch(44.98% 0.172 316.5)
XYZxyz(13.9788, 7.8280, 28.3727)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A93 #44932A
analogous
#452A93 #792A93 #932A79
triadic
#792A93 #93792A #2A9379
tetradic
#792A93 #93452A #44932A #2A7993
square
#792A93 #93452A #44932A #2A7993
split-complementary
#792A93 #79932A #2A9345
monochromatic
#2B0F34 #521C63 #792A93 #A038C3 #B865D3

Accessibility & contrast

On white

8.19
#792A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#792A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792A93
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A93#FFFFFF#000000##FFFFFF
##792A931.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#2A5191
Tritanopia (blue-blind)
#773F5B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792a93;
/* rgb */ color: rgb(121, 42, 147);
/* oklch */ color: oklch(45.0% 0.172 316.5);
Tailwind
colors: {
  custom: {
    50: '#a36bb3',
    500: '#792a93',
    950: '#000000',
  },
}
SCSS
$custom: #792a93;
$custom-light: #a36bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#792a93",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 285.143,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44975,
    "c": 0.1722,
    "h": 316.5
  },
  "luminance": 0.07827
}

Semantic roles & 50–950 ramp

primary
#792A93
secondary
#76B960
accent
#DF496E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792A93

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

Preview Lab → · Contrast checker → · Palette generator →

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