#792CCA#792CCA

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

Color values

HEX#792CCA
RGBrgb(121, 44, 202)
HSLhsl(269, 64%, 48%)
HSVhsv(269, 78%, 79%)
CMYKcmyk(40.1%, 78.2%, 0%, 20.8%)
CIE-LABlab(38.08, 61.53, -67.76)
CIE-LCHlch(38.08, 91.53, 312.24°)
OKLaboklab(49.42% 0.1123 -0.1937)
OKLCHoklch(49.42% 0.224 300.1)
XYZxyz(19.4438, 10.1304, 56.7966)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792CCA #7DCA2C
analogous
#2C2ECA #792CCA #C82CCA
triadic
#792CCA #CA792C #2CCA79
tetradic
#792CCA #CA2C2E #7DCA2C #2CCAC8
square
#792CCA #CA2C2E #7DCA2C #2CCAC8
split-complementary
#792CCA #CAC82C #2ECA2C
monochromatic
#3D1665 #5B2198 #792CCA #9858DB #B78BE6

Accessibility & contrast

On white

6.94
#792CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #792CCA
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792CCA#FFFFFF#000000##FFFFFF
##792CCA1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#66577B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #792cca;
/* rgb */ color: rgb(121, 44, 202);
/* oklch */ color: oklch(49.4% 0.224 300.1);
Tailwind
colors: {
  custom: {
    50: '#a76edb',
    500: '#792cca',
    950: '#000000',
  },
}
SCSS
$custom: #792cca;
$custom-light: #a76edb;
$custom-dark: #000000;
JSON
{
  "hex": "#792cca",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 202
  },
  "hsl": {
    "h": 269.241,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49422,
    "c": 0.22394,
    "h": 300.1
  },
  "luminance": 0.10131
}

Semantic roles & 50–950 ramp

primary
#792CCA
secondary
#AAD082
accent
#E74196
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #792CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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