#792EC7#792EC7

#792EC7 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.4% C 0.219 H 300.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#792EC7
RGBrgb(121, 46, 199)
HSLhsl(269, 62%, 48%)
HSVhsv(269, 77%, 78%)
CMYKcmyk(39.2%, 76.9%, 0%, 22%)
CIE-LABlab(38.10, 60.04, -65.98)
CIE-LCHlch(38.10, 89.21, 312.30°)
OKLaboklab(49.36% 0.1115 -0.1885)
OKLCHoklch(49.36% 0.219 300.6)
XYZxyz(19.1684, 10.1423, 54.9695)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792EC7 #7CC72E
analogous
#2E2FC7 #792EC7 #C52EC7
triadic
#792EC7 #C7792E #2EC779
tetradic
#792EC7 #C72E2F #7CC72E #2EC7C5
square
#792EC7 #C72E2F #7CC72E #2EC7C5
split-complementary
#792EC7 #C7C52E #2FC72E
monochromatic
#3D1764 #5B2395 #792EC7 #9859D9 #B78BE4

Accessibility & contrast

On white

6.93
#792EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#792EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #792EC7
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792EC7#FFFFFF#000000##FFFFFF
##792EC71.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CB
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#67577A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #792ec7;
/* rgb */ color: rgb(121, 46, 199);
/* oklch */ color: oklch(49.4% 0.219 300.6);
Tailwind
colors: {
  custom: {
    50: '#a76fd9',
    500: '#792ec7',
    950: '#000000',
  },
}
SCSS
$custom: #792ec7;
$custom-light: #a76fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#792ec7",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 199
  },
  "hsl": {
    "h": 269.412,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4936,
    "c": 0.21905,
    "h": 300.6
  },
  "luminance": 0.10142
}

Semantic roles & 50–950 ramp

primary
#792EC7
secondary
#A9CE83
accent
#E64295
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #792EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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