#792AA9#792AA9

#792AA9 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.6% C 0.194 H 309.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#792AA9
RGBrgb(121, 42, 169)
HSLhsl(277, 60%, 41%)
HSVhsv(277, 75%, 66%)
CMYKcmyk(28.4%, 75.1%, 0%, 33.7%)
CIE-LABlab(35.17, 54.77, -53.01)
CIE-LCHlch(35.17, 76.22, 315.93°)
OKLaboklab(46.57% 0.1218 -0.1504)
OKLCHoklch(46.57% 0.194 309)
XYZxyz(15.8731, 8.5857, 38.3494)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792AA9 #5AA92A
analogous
#3A2AA9 #792AA9 #A92A9A
triadic
#792AA9 #A9792A #2AA979
tetradic
#792AA9 #A93A2A #5AA92A #2A9AA9
square
#792AA9 #A93A2A #5AA92A #2A9AA9
split-complementary
#792AA9 #9AA92A #2AA93A
monochromatic
#331247 #561E78 #792AA9 #9A41D0 #B472DC

Accessibility & contrast

On white

7.73
#792AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#792AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792AA9
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792AA9#FFFFFF#000000##FFFFFF
##792AA91.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0054A6
Tritanopia (blue-blind)
#724868
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #792aa9;
/* rgb */ color: rgb(121, 42, 169);
/* oklch */ color: oklch(46.6% 0.194 309.0);
Tailwind
colors: {
  custom: {
    50: '#a46cc3',
    500: '#792aa9',
    950: '#000000',
  },
}
SCSS
$custom: #792aa9;
$custom-light: #a46cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#792aa9",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 277.323,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46569,
    "c": 0.19354,
    "h": 309
  },
  "luminance": 0.08585
}

Semantic roles & 50–950 ramp

primary
#792AA9
secondary
#8DC36C
accent
#E34481
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #792AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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