#792FA0#792FA0

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

Color values

HEX#792FA0
RGBrgb(121, 47, 160)
HSLhsl(279, 55%, 41%)
HSVhsv(279, 71%, 63%)
CMYKcmyk(24.4%, 70.6%, 0%, 37.3%)
CIE-LABlab(35.27, 50.66, -47.43)
CIE-LCHlch(35.27, 69.40, 316.88°)
OKLaboklab(46.44% 0.1181 -0.134)
OKLCHoklch(46.44% 0.179 311.4)
XYZxyz(15.2456, 8.6364, 34.1148)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792FA0 #56A02F
analogous
#402FA0 #792FA0 #A02F8E
triadic
#792FA0 #A0792F #2FA079
tetradic
#792FA0 #A0402F #56A02F #2F8EA0
square
#792FA0 #A0402F #56A02F #2F8EA0
split-complementary
#792FA0 #8EA02F #2FA040
monochromatic
#311341 #552171 #792FA0 #9B44C8 #B473D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##792FA0#FFFFFF#000000##FFFFFF
##792FA01.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)
#004FA3
Deuteranopia (green-blind)
#20549E
Tritanopia (blue-blind)
#744764
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #792fa0;
/* rgb */ color: rgb(121, 47, 160);
/* oklch */ color: oklch(46.4% 0.179 311.4);
Tailwind
colors: {
  custom: {
    50: '#a46ebd',
    500: '#792fa0',
    950: '#000000',
  },
}
SCSS
$custom: #792fa0;
$custom-light: #a46ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#792fa0",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 279.292,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46436,
    "c": 0.17864,
    "h": 311.4
  },
  "luminance": 0.08636
}

Semantic roles & 50–950 ramp

primary
#792FA0
secondary
#89BE6D
accent
#DE4A7D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #792FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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