#792AA1#792AA1

#792AA1 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.186 H 311.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#792AA1
RGBrgb(121, 42, 161)
HSLhsl(280, 59%, 40%)
HSVhsv(280, 74%, 63%)
CMYKcmyk(24.8%, 73.9%, 0%, 36.9%)
CIE-LABlab(34.59, 53.01, -49.15)
CIE-LCHlch(34.59, 72.29, 317.17°)
OKLaboklab(45.97% 0.1232 -0.139)
OKLCHoklch(45.97% 0.186 311.5)
XYZxyz(15.1449, 8.2945, 34.5145)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792AA1 #52A12A
analogous
#3E2AA1 #792AA1 #A12A8E
triadic
#792AA1 #A1792A #2AA179
tetradic
#792AA1 #A13E2A #52A12A #2A8EA1
square
#792AA1 #A13E2A #52A12A #2A8EA1
split-complementary
#792AA1 #8EA12A #2AA13E
monochromatic
#301140 #551D70 #792AA1 #9C3CCC #B46DD9

Accessibility & contrast

On white

7.90
#792AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#792AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792AA1
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792AA1#FFFFFF#000000##FFFFFF
##792AA11.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#18539E
Tritanopia (blue-blind)
#744563
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #792aa1;
/* rgb */ color: rgb(121, 42, 161);
/* oklch */ color: oklch(46.0% 0.186 311.5);
Tailwind
colors: {
  custom: {
    50: '#a46bbe',
    500: '#792aa1',
    950: '#000000',
  },
}
SCSS
$custom: #792aa1;
$custom-light: #a46bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#792aa1",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 279.832,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4597,
    "c": 0.18574,
    "h": 311.5
  },
  "luminance": 0.08294
}

Semantic roles & 50–950 ramp

primary
#792AA1
secondary
#85C067
accent
#E2467A
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #792AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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