#792B82#792B82

#792B82 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.155 H 323.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#792B82
RGBrgb(121, 43, 130)
HSLhsl(294, 50%, 34%)
HSVhsv(294, 67%, 51%)
CMYKcmyk(6.9%, 66.9%, 0%, 49%)
CIE-LABlab(32.71, 46.17, -33.14)
CIE-LCHlch(32.71, 56.84, 324.33°)
OKLaboklab(43.98% 0.1243 -0.0922)
OKLCHoklch(43.98% 0.155 323.4)
XYZxyz(12.7779, 7.4051, 21.8711)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B82 #34822B
analogous
#4E2B82 #792B82 #822B60
triadic
#792B82 #82792B #2B8279
tetradic
#792B82 #824E2B #34822B #2B6082
square
#792B82 #824E2B #34822B #2B6082
split-complementary
#792B82 #60822B #2B824E
monochromatic
#230D26 #4E1C54 #792B82 #A43AB0 #BE5ECA

Accessibility & contrast

On white

8.47
#792B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#792B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B82
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B82#FFFFFF#000000##FFFFFF
##792B821.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174785
Deuteranopia (green-blind)
#385080
Tritanopia (blue-blind)
#7B3953
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792b82;
/* rgb */ color: rgb(121, 43, 130);
/* oklch */ color: oklch(44.0% 0.155 323.4);
Tailwind
colors: {
  custom: {
    50: '#a26ba7',
    500: '#792b82',
    950: '#000000',
  },
}
SCSS
$custom: #792b82;
$custom-light: #a26ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#792b82",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 293.793,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43979,
    "c": 0.15472,
    "h": 323.4
  },
  "luminance": 0.07404
}

Semantic roles & 50–950 ramp

primary
#792B82
secondary
#62B059
accent
#DA4E5C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792B82

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

Preview Lab → · Contrast checker → · Palette generator →

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