#792D93#792D93

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

Color values

HEX#792D93
RGBrgb(121, 45, 147)
HSLhsl(285, 53%, 38%)
HSVhsv(285, 69%, 58%)
CMYKcmyk(17.7%, 69.4%, 0%, 42.4%)
CIE-LABlab(34.08, 48.74, -41.45)
CIE-LCHlch(34.08, 63.98, 319.62°)
OKLaboklab(45.31% 0.1215 -0.1164)
OKLCHoklch(45.31% 0.168 316.2)
XYZxyz(14.0892, 8.0488, 28.4095)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D93 #47932D
analogous
#462D93 #792D93 #932D7A
triadic
#792D93 #93792D #2D9379
tetradic
#792D93 #93462D #47932D #2D7A93
square
#792D93 #93462D #47932D #2D7A93
split-complementary
#792D93 #7A932D #2D9346
monochromatic
#2C1035 #521F64 #792D93 #A03BC2 #B769D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##792D93#FFFFFF#000000##FFFFFF
##792D931.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)
#004C96
Deuteranopia (green-blind)
#2D5291
Tritanopia (blue-blind)
#77415C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792d93;
/* rgb */ color: rgb(121, 45, 147);
/* oklch */ color: oklch(45.3% 0.168 316.2);
Tailwind
colors: {
  custom: {
    50: '#a36cb3',
    500: '#792d93',
    950: '#000000',
  },
}
SCSS
$custom: #792d93;
$custom-light: #a36cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#792d93",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 284.706,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45305,
    "c": 0.16829,
    "h": 316.2
  },
  "luminance": 0.08048
}

Semantic roles & 50–950 ramp

primary
#792D93
secondary
#79B864
accent
#DD4B70
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792D93

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

Preview Lab → · Contrast checker → · Palette generator →

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