#792CA9#792CA9

#792CA9 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.8% C 0.191 H 308.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#792CA9
RGBrgb(121, 44, 169)
HSLhsl(277, 59%, 42%)
HSVhsv(277, 74%, 66%)
CMYKcmyk(28.4%, 74%, 0%, 33.7%)
CIE-LABlab(35.46, 53.95, -52.54)
CIE-LCHlch(35.46, 75.31, 315.76°)
OKLaboklab(46.77% 0.1199 -0.149)
OKLCHoklch(46.77% 0.191 308.8)
XYZxyz(15.9458, 8.7312, 38.3737)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792CA9 #5CA92C
analogous
#3B2CA9 #792CA9 #A92C9B
triadic
#792CA9 #A9792C #2CA979
tetradic
#792CA9 #A93B2C #5CA92C #2C9BA9
square
#792CA9 #A93B2C #5CA92C #2C9BA9
split-complementary
#792CA9 #9BA92C #2CA93B
monochromatic
#331348 #561F78 #792CA9 #9944CE #B474DB

Accessibility & contrast

On white

7.65
#792CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#792CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792CA9
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792CA9#FFFFFF#000000##FFFFFF
##792CA91.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792ca9;
/* rgb */ color: rgb(121, 44, 169);
/* oklch */ color: oklch(46.8% 0.191 308.8);
Tailwind
colors: {
  custom: {
    50: '#a46dc3',
    500: '#792ca9',
    950: '#000000',
  },
}
SCSS
$custom: #792ca9;
$custom-light: #a46dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#792ca9",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 276.96,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46772,
    "c": 0.19127,
    "h": 308.8
  },
  "luminance": 0.08731
}

Semantic roles & 50–950 ramp

primary
#792CA9
secondary
#8FC36E
accent
#E24682
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #792CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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