#792DCA#792DCA

#792DCA is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.5% C 0.223 H 300.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#792DCA
RGBrgb(121, 45, 202)
HSLhsl(269, 64%, 48%)
HSVhsv(269, 78%, 79%)
CMYKcmyk(40.1%, 77.7%, 0%, 20.8%)
CIE-LABlab(38.21, 61.14, -67.54)
CIE-LCHlch(38.21, 91.11, 312.15°)
OKLaboklab(49.52% 0.1116 -0.1931)
OKLCHoklch(49.52% 0.223 300)
XYZxyz(19.4815, 10.2058, 56.8092)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792DCA #7ECA2D
analogous
#2D2FCA #792DCA #C72DCA
triadic
#792DCA #CA792D #2DCA79
tetradic
#792DCA #CA2D2F #7ECA2D #2DCAC7
square
#792DCA #CA2D2F #7ECA2D #2DCAC7
split-complementary
#792DCA #CAC72D #2FCA2D
monochromatic
#3D1766 #5B2298 #792DCA #985ADA #B78CE5

Accessibility & contrast

On white

6.91
#792DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#792DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #792DCA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792DCA#FFFFFF#000000##FFFFFF
##792DCA1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#66587B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #792dca;
/* rgb */ color: rgb(121, 45, 202);
/* oklch */ color: oklch(49.5% 0.223 300.0);
Tailwind
colors: {
  custom: {
    50: '#a76fdb',
    500: '#792dca',
    950: '#000000',
  },
}
SCSS
$custom: #792dca;
$custom-light: #a76fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#792dca",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 269.045,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49515,
    "c": 0.223,
    "h": 300
  },
  "luminance": 0.10206
}

Semantic roles & 50–950 ramp

primary
#792DCA
secondary
#ABCF83
accent
#E74197
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #792DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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