#792EA3#792EA3

#792EA3 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.183 H 310.5°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#792EA3
RGBrgb(121, 46, 163)
HSLhsl(278, 56%, 41%)
HSVhsv(278, 72%, 64%)
CMYKcmyk(25.8%, 71.8%, 0%, 36.1%)
CIE-LABlab(35.33, 51.76, -49.16)
CIE-LCHlch(35.33, 71.38, 316.48°)
OKLaboklab(46.54% 0.1188 -0.1391)
OKLCHoklch(46.54% 0.183 310.5)
XYZxyz(15.4717, 8.6636, 35.5004)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792EA3 #58A32E
analogous
#3F2EA3 #792EA3 #A32E92
triadic
#792EA3 #A3792E #2EA379
tetradic
#792EA3 #A33F2E #58A32E #2E92A3
square
#792EA3 #A33F2E #58A32E #2E92A3
split-complementary
#792EA3 #92A32E #2EA33F
monochromatic
#321344 #562173 #792EA3 #9A44CA #B474D8

Accessibility & contrast

On white

7.68
#792EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#792EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792EA3
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792EA3#FFFFFF#000000##FFFFFF
##792EA31.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#1A54A0
Tritanopia (blue-blind)
#734865
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #792ea3;
/* rgb */ color: rgb(121, 46, 163);
/* oklch */ color: oklch(46.5% 0.183 310.5);
Tailwind
colors: {
  custom: {
    50: '#a46dbf',
    500: '#792ea3',
    950: '#000000',
  },
}
SCSS
$custom: #792ea3;
$custom-light: #a46dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#792ea3",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 278.462,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46541,
    "c": 0.18291,
    "h": 310.5
  },
  "luminance": 0.08663
}

Semantic roles & 50–950 ramp

primary
#792EA3
secondary
#8BBF6D
accent
#DF497F
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #792EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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