#792082#792082

#792082 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.169 H 323.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#792082
RGBrgb(121, 32, 130)
HSLhsl(294, 60%, 32%)
HSVhsv(294, 75%, 51%)
CMYKcmyk(6.9%, 75.4%, 0%, 49%)
CIE-LABlab(31.14, 50.62, -35.65)
CIE-LCHlch(31.14, 61.91, 324.84°)
OKLaboklab(42.85% 0.1364 -0.0994)
OKLCHoklch(42.85% 0.169 323.9)
XYZxyz(12.4306, 6.7104, 21.7553)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792082 #298220
analogous
#482082 #792082 #82205A
triadic
#792082 #827920 #208279
tetradic
#792082 #824820 #298220 #205A82
square
#792082 #824820 #298220 #205A82
split-complementary
#792082 #5A8220 #208248
monochromatic
#1E0820 #4B1451 #792082 #A72CB3 #C64AD2

Accessibility & contrast

On white

8.97
#792082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#792082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792082
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792082#FFFFFF#000000##FFFFFF
##7920821.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#324D80
Tritanopia (blue-blind)
#7B324F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #792082;
/* rgb */ color: rgb(121, 32, 130);
/* oklch */ color: oklch(42.9% 0.169 323.9);
Tailwind
colors: {
  custom: {
    50: '#a365a7',
    500: '#792082',
    950: '#000000',
  },
}
SCSS
$custom: #792082;
$custom-light: #a365a7;
$custom-dark: #000000;
JSON
{
  "hex": "#792082",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 294.49,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4285,
    "c": 0.1688,
    "h": 323.9
  },
  "luminance": 0.0671
}

Semantic roles & 50–950 ramp

primary
#792082
secondary
#53B549
accent
#E44453
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #792082

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

Preview Lab → · Contrast checker → · Palette generator →

#792082 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva