#792AA0#792AA0

#792AA0 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.185 H 311.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#792AA0
RGBrgb(121, 42, 160)
HSLhsl(280, 58%, 40%)
HSVhsv(280, 74%, 63%)
CMYKcmyk(24.4%, 73.8%, 0%, 37.3%)
CIE-LABlab(34.52, 52.80, -48.66)
CIE-LCHlch(34.52, 71.80, 317.34°)
OKLaboklab(45.9% 0.1233 -0.1376)
OKLCHoklch(45.9% 0.185 311.9)
XYZxyz(15.0571, 8.2593, 34.0519)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792AA0 #51A02A
analogous
#3E2AA0 #792AA0 #A02A8C
triadic
#792AA0 #A0792A #2AA079
tetradic
#792AA0 #A03E2A #51A02A #2A8CA0
square
#792AA0 #A03E2A #51A02A #2A8CA0
split-complementary
#792AA0 #8CA02A #2AA03E
monochromatic
#30113F #541D70 #792AA0 #9C3CCC #B56CD8

Accessibility & contrast

On white

7.92
#792AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#792AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792AA0
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792AA0#FFFFFF#000000##FFFFFF
##792AA01.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#19539D
Tritanopia (blue-blind)
#744463
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #792aa0;
/* rgb */ color: rgb(121, 42, 160);
/* oklch */ color: oklch(45.9% 0.185 311.9);
Tailwind
colors: {
  custom: {
    50: '#a46bbd',
    500: '#792aa0',
    950: '#000000',
  },
}
SCSS
$custom: #792aa0;
$custom-light: #a46bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#792aa0",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 280.169,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45897,
    "c": 0.18477,
    "h": 311.9
  },
  "luminance": 0.08259
}

Semantic roles & 50–950 ramp

primary
#792AA0
secondary
#84BF67
accent
#E2467A
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #792AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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