#792EA0#792EA0

#792EA0 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.180 H 311.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#792EA0
RGBrgb(121, 46, 160)
HSLhsl(279, 55%, 40%)
HSVhsv(279, 71%, 63%)
CMYKcmyk(24.4%, 71.2%, 0%, 37.3%)
CIE-LABlab(35.12, 51.10, -47.69)
CIE-LCHlch(35.12, 69.89, 316.98°)
OKLaboklab(46.32% 0.1192 -0.1348)
OKLCHoklch(46.32% 0.18 311.5)
XYZxyz(15.2061, 8.5574, 34.1016)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792EA0 #55A02E
analogous
#402EA0 #792EA0 #A02E8E
triadic
#792EA0 #A0792E #2EA079
tetradic
#792EA0 #A0402E #55A02E #2E8EA0
square
#792EA0 #A0402E #55A02E #2E8EA0
split-complementary
#792EA0 #8EA02E #2EA040
monochromatic
#311341 #552070 #792EA0 #9B42C9 #B472D6

Accessibility & contrast

On white

7.75
#792EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#792EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792EA0
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792EA0#FFFFFF#000000##FFFFFF
##792EA01.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#1F549D
Tritanopia (blue-blind)
#744764
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #792ea0;
/* rgb */ color: rgb(121, 46, 160);
/* oklch */ color: oklch(46.3% 0.180 311.5);
Tailwind
colors: {
  custom: {
    50: '#a46dbd',
    500: '#792ea0',
    950: '#000000',
  },
}
SCSS
$custom: #792ea0;
$custom-light: #a46dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#792ea0",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 279.474,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46324,
    "c": 0.1799,
    "h": 311.5
  },
  "luminance": 0.08557
}

Semantic roles & 50–950 ramp

primary
#792EA0
secondary
#88BE6C
accent
#DF497C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #792EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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