#792182#792182

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

Color values

HEX#792182
RGBrgb(121, 33, 130)
HSLhsl(294, 60%, 32%)
HSVhsv(294, 75%, 51%)
CMYKcmyk(6.9%, 74.6%, 0%, 49%)
CIE-LABlab(31.27, 50.25, -35.45)
CIE-LCHlch(31.27, 61.49, 324.80°)
OKLaboklab(42.94% 0.1354 -0.0988)
OKLCHoklch(42.94% 0.168 323.9)
XYZxyz(12.4579, 6.7651, 21.7644)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792182 #2A8221
analogous
#492182 #792182 #82215B
triadic
#792182 #827921 #218279
tetradic
#792182 #824921 #2A8221 #215B82
square
#792182 #824921 #2A8221 #215B82
split-complementary
#792182 #5B8221 #218249
monochromatic
#1E0820 #4C1551 #792182 #A62DB3 #C54CD2

Accessibility & contrast

On white

8.93
#792182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#792182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792182
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792182#FFFFFF#000000##FFFFFF
##7921821.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#324D80
Tritanopia (blue-blind)
#7B3250
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792182;
/* rgb */ color: rgb(121, 33, 130);
/* oklch */ color: oklch(42.9% 0.168 323.9);
Tailwind
colors: {
  custom: {
    50: '#a366a7',
    500: '#792182',
    950: '#000000',
  },
}
SCSS
$custom: #792182;
$custom-light: #a366a7;
$custom-dark: #000000;
JSON
{
  "hex": "#792182",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 294.433,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42941,
    "c": 0.16766,
    "h": 323.9
  },
  "luminance": 0.06764
}

Semantic roles & 50–950 ramp

primary
#792182
secondary
#54B44A
accent
#E34554
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #792182

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

Preview Lab → · Contrast checker → · Palette generator →

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