#792486#792486

#792486 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.168 H 322.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#792486
RGBrgb(121, 36, 134)
HSLhsl(292, 58%, 33%)
HSVhsv(292, 73%, 53%)
CMYKcmyk(9.7%, 73.1%, 0%, 47.5%)
CIE-LABlab(31.92, 49.87, -36.90)
CIE-LCHlch(31.92, 62.04, 323.50°)
OKLaboklab(43.49% 0.1322 -0.1031)
OKLCHoklch(43.49% 0.168 322)
XYZxyz(12.8187, 7.0486, 23.2350)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792486 #318624
analogous
#482486 #792486 #862462
triadic
#792486 #867924 #248679
tetradic
#792486 #864824 #318624 #246286
square
#792486 #864824 #318624 #246286
split-complementary
#792486 #628624 #248648
monochromatic
#220A26 #4D1756 #792486 #A531B6 #C053D1

Accessibility & contrast

On white

8.72
#792486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#792486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792486
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792486#FFFFFF#000000##FFFFFF
##7924861.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#314E84
Tritanopia (blue-blind)
#7A3653
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792486;
/* rgb */ color: rgb(121, 36, 134);
/* oklch */ color: oklch(43.5% 0.168 322.0);
Tailwind
colors: {
  custom: {
    50: '#a367aa',
    500: '#792486',
    950: '#000000',
  },
}
SCSS
$custom: #792486;
$custom-light: #a367aa;
$custom-dark: #000000;
JSON
{
  "hex": "#792486",
  "rgb": {
    "r": 121,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 292.041,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43487,
    "c": 0.1676,
    "h": 322
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

primary
#792486
secondary
#5EB551
accent
#E1475B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #792486

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

Preview Lab → · Contrast checker → · Palette generator →

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