#792CA6#792CA6

#792CA6 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.188 H 309.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#792CA6
RGBrgb(121, 44, 166)
HSLhsl(278, 58%, 41%)
HSVhsv(278, 73%, 65%)
CMYKcmyk(27.1%, 73.5%, 0%, 34.9%)
CIE-LABlab(35.24, 53.28, -51.10)
CIE-LCHlch(35.24, 73.83, 316.20°)
OKLaboklab(46.55% 0.1204 -0.1448)
OKLCHoklch(46.55% 0.188 309.7)
XYZxyz(15.6674, 8.6198, 36.9074)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792CA6 #59A62C
analogous
#3C2CA6 #792CA6 #A62C96
triadic
#792CA6 #A6792C #2CA679
tetradic
#792CA6 #A63C2C #59A62C #2C96A6
square
#792CA6 #A63C2C #59A62C #2C96A6
split-complementary
#792CA6 #96A62C #2CA63C
monochromatic
#321245 #561F76 #792CA6 #9A42CD #B473DA

Accessibility & contrast

On white

7.71
#792CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792CA6
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792CA6#FFFFFF#000000##FFFFFF
##792CA61.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#1054A3
Tritanopia (blue-blind)
#734866
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #792ca6;
/* rgb */ color: rgb(121, 44, 166);
/* oklch */ color: oklch(46.5% 0.188 309.7);
Tailwind
colors: {
  custom: {
    50: '#a46dc1',
    500: '#792ca6',
    950: '#000000',
  },
}
SCSS
$custom: #792ca6;
$custom-light: #a46dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#792ca6",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 277.869,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46547,
    "c": 0.1883,
    "h": 309.7
  },
  "luminance": 0.08619
}

Semantic roles & 50–950 ramp

primary
#792CA6
secondary
#8CC16D
accent
#E14680
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #792CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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