#792B92#792B92

#792B92 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.170 H 316.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#792B92
RGBrgb(121, 43, 146)
HSLhsl(285, 54%, 37%)
HSVhsv(285, 71%, 57%)
CMYKcmyk(17.1%, 70.5%, 0%, 42.7%)
CIE-LABlab(33.71, 49.40, -41.44)
CIE-LCHlch(33.71, 64.48, 320.01°)
OKLaboklab(45.02% 0.1238 -0.1164)
OKLCHoklch(45.02% 0.17 316.8)
XYZxyz(13.9366, 7.8686, 27.9732)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B92 #44922B
analogous
#462B92 #792B92 #922B78
triadic
#792B92 #92792B #2B9279
tetradic
#792B92 #92462B #44922B #2B7892
square
#792B92 #92462B #44922B #2B7892
split-complementary
#792B92 #78922B #2B9246
monochromatic
#2B0F33 #521D63 #792B92 #A039C1 #B866D2

Accessibility & contrast

On white

8.16
#792B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792B92
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B92#FFFFFF#000000##FFFFFF
##792B921.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#2C5290
Tritanopia (blue-blind)
#783F5B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792b92;
/* rgb */ color: rgb(121, 43, 146);
/* oklch */ color: oklch(45.0% 0.170 316.8);
Tailwind
colors: {
  custom: {
    50: '#a36bb2',
    500: '#792b92',
    950: '#000000',
  },
}
SCSS
$custom: #792b92;
$custom-light: #a36bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#792b92",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 285.437,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45015,
    "c": 0.16996,
    "h": 316.8
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#792B92
secondary
#76B861
accent
#DE4A6E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792B92

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

Preview Lab → · Contrast checker → · Palette generator →

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