#792B95#792B95

#792B95 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.2% C 0.173 H 315.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#792B95
RGBrgb(121, 43, 149)
HSLhsl(284, 55%, 38%)
HSVhsv(284, 71%, 58%)
CMYKcmyk(18.8%, 71.1%, 0%, 41.6%)
CIE-LABlab(33.91, 50.03, -42.96)
CIE-LCHlch(33.91, 65.94, 319.35°)
OKLaboklab(45.22% 0.1236 -0.1209)
OKLCHoklch(45.22% 0.173 315.6)
XYZxyz(14.1730, 7.9632, 29.2184)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B95 #47952B
analogous
#442B95 #792B95 #952B7C
triadic
#792B95 #95792B #2B9579
tetradic
#792B95 #95442B #47952B #2B7C95
square
#792B95 #95442B #47952B #2B7C95
split-complementary
#792B95 #7C952B #2B9544
monochromatic
#2C1036 #521D66 #792B95 #A039C4 #B767D3

Accessibility & contrast

On white

8.10
#792B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#792B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B95
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B95#FFFFFF#000000##FFFFFF
##792B951.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#295293
Tritanopia (blue-blind)
#77405D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792b95;
/* rgb */ color: rgb(121, 43, 149);
/* oklch */ color: oklch(45.2% 0.173 315.6);
Tailwind
colors: {
  custom: {
    50: '#a36bb5',
    500: '#792b95',
    950: '#000000',
  },
}
SCSS
$custom: #792b95;
$custom-light: #a36bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#792b95",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 284.151,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4522,
    "c": 0.17286,
    "h": 315.6
  },
  "luminance": 0.07963
}

Semantic roles & 50–950 ramp

primary
#792B95
secondary
#79BA62
accent
#DF4971
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792B95

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

Preview Lab → · Contrast checker → · Palette generator →

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