#792B93#792B93

#792B93 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.171 H 316.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#792B93
RGBrgb(121, 43, 147)
HSLhsl(285, 55%, 37%)
HSVhsv(285, 71%, 58%)
CMYKcmyk(17.7%, 70.7%, 0%, 42.4%)
CIE-LABlab(33.77, 49.61, -41.95)
CIE-LCHlch(33.77, 64.97, 319.78°)
OKLaboklab(45.08% 0.1237 -0.1179)
OKLCHoklch(45.08% 0.171 316.4)
XYZxyz(14.0147, 7.8998, 28.3847)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B93 #45932B
analogous
#452B93 #792B93 #932B79
triadic
#792B93 #93792B #2B9379
tetradic
#792B93 #93452B #45932B #2B7993
square
#792B93 #93452B #45932B #2B7993
split-complementary
#792B93 #79932B #2B9345
monochromatic
#2B0F34 #521D64 #792B93 #A039C2 #B766D2

Accessibility & contrast

On white

8.14
#792B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#792B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B93
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B93#FFFFFF#000000##FFFFFF
##792B931.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#2B5291
Tritanopia (blue-blind)
#77405C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792b93;
/* rgb */ color: rgb(121, 43, 147);
/* oklch */ color: oklch(45.1% 0.171 316.4);
Tailwind
colors: {
  custom: {
    50: '#a36bb3',
    500: '#792b93',
    950: '#000000',
  },
}
SCSS
$custom: #792b93;
$custom-light: #a36bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#792b93",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 285,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45083,
    "c": 0.17092,
    "h": 316.4
  },
  "luminance": 0.07899
}

Semantic roles & 50–950 ramp

primary
#792B93
secondary
#77B961
accent
#DE4A6F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792B93

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

Preview Lab → · Contrast checker → · Palette generator →

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