#792EA2#792EA2

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

Color values

HEX#792EA2
RGBrgb(121, 46, 162)
HSLhsl(279, 56%, 41%)
HSVhsv(279, 72%, 64%)
CMYKcmyk(25.3%, 71.6%, 0%, 36.5%)
CIE-LABlab(35.26, 51.54, -48.67)
CIE-LCHlch(35.26, 70.89, 316.64°)
OKLaboklab(46.47% 0.1189 -0.1376)
OKLCHoklch(46.47% 0.182 310.8)
XYZxyz(15.3825, 8.6279, 35.0304)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792EA2 #57A22E
analogous
#3F2EA2 #792EA2 #A22E91
triadic
#792EA2 #A2792E #2EA279
tetradic
#792EA2 #A23F2E #57A22E #2E91A2
square
#792EA2 #A23F2E #57A22E #2E91A2
split-complementary
#792EA2 #91A22E #2EA23F
monochromatic
#321343 #552072 #792EA2 #9A43CA #B473D7

Accessibility & contrast

On white

7.70
#792EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792EA2
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792EA2#FFFFFF#000000##FFFFFF
##792EA21.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#1C549F
Tritanopia (blue-blind)
#744765
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #792ea2;
/* rgb */ color: rgb(121, 46, 162);
/* oklch */ color: oklch(46.5% 0.182 310.8);
Tailwind
colors: {
  custom: {
    50: '#a46dbe',
    500: '#792ea2',
    950: '#000000',
  },
}
SCSS
$custom: #792ea2;
$custom-light: #a46dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#792ea2",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 278.793,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46468,
    "c": 0.1819,
    "h": 310.8
  },
  "luminance": 0.08628
}

Semantic roles & 50–950 ramp

primary
#792EA2
secondary
#8ABF6D
accent
#DF497E
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #792EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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