#792CA0#792CA0

#792CA0 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.182 H 311.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#792CA0
RGBrgb(121, 44, 160)
HSLhsl(280, 57%, 40%)
HSVhsv(280, 73%, 63%)
CMYKcmyk(24.4%, 72.5%, 0%, 37.3%)
CIE-LABlab(34.81, 51.96, -48.18)
CIE-LCHlch(34.81, 70.86, 317.16°)
OKLaboklab(46.11% 0.1213 -0.1362)
OKLCHoklch(46.11% 0.182 311.7)
XYZxyz(15.1298, 8.4048, 34.0762)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792CA0 #53A02C
analogous
#3F2CA0 #792CA0 #A02C8D
triadic
#792CA0 #A0792C #2CA079
tetradic
#792CA0 #A03F2C #53A02C #2C8DA0
square
#792CA0 #A03F2C #53A02C #2C8DA0
split-complementary
#792CA0 #8DA02C #2CA03F
monochromatic
#301240 #551F70 #792CA0 #9B3FCA #B46FD7

Accessibility & contrast

On white

7.83
#792CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#792CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792CA0
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792CA0#FFFFFF#000000##FFFFFF
##792CA01.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#1C539D
Tritanopia (blue-blind)
#744563
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #792ca0;
/* rgb */ color: rgb(121, 44, 160);
/* oklch */ color: oklch(46.1% 0.182 311.7);
Tailwind
colors: {
  custom: {
    50: '#a46cbd',
    500: '#792ca0',
    950: '#000000',
  },
}
SCSS
$custom: #792ca0;
$custom-light: #a46cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#792ca0",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 279.828,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.46106,
    "c": 0.18238,
    "h": 311.7
  },
  "luminance": 0.08404
}

Semantic roles & 50–950 ramp

primary
#792CA0
secondary
#86BF69
accent
#E0487B
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #792CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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