#792186#792186

#792186 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.171 H 322.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#792186
RGBrgb(121, 33, 134)
HSLhsl(292, 60%, 33%)
HSVhsv(292, 75%, 53%)
CMYKcmyk(9.7%, 75.4%, 0%, 47.5%)
CIE-LABlab(31.52, 51.00, -37.54)
CIE-LCHlch(31.52, 63.33, 323.65°)
OKLaboklab(43.2% 0.1352 -0.1049)
OKLCHoklch(43.2% 0.171 322.2)
XYZxyz(12.7316, 6.8746, 23.2060)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792186 #2E8621
analogous
#462186 #792186 #862161
triadic
#792186 #867921 #218679
tetradic
#792186 #864621 #2E8621 #216186
square
#792186 #864621 #2E8621 #216186
split-complementary
#792186 #618621 #218646
monochromatic
#200924 #4D1555 #792186 #A52DB7 #C24ED3

Accessibility & contrast

On white

8.84
#792186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#792186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792186
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792186#FFFFFF#000000##FFFFFF
##7921861.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#2F4D84
Tritanopia (blue-blind)
#7A3452
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792186;
/* rgb */ color: rgb(121, 33, 134);
/* oklch */ color: oklch(43.2% 0.171 322.2);
Tailwind
colors: {
  custom: {
    50: '#a366aa',
    500: '#792186',
    950: '#000000',
  },
}
SCSS
$custom: #792186;
$custom-light: #a366aa;
$custom-dark: #000000;
JSON
{
  "hex": "#792186",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 292.277,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43203,
    "c": 0.17114,
    "h": 322.2
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#792186
secondary
#5AB74C
accent
#E44459
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #792186

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

Preview Lab → · Contrast checker → · Palette generator →

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