#792CC9#792CC9

#792CC9 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.223 H 300.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#792CC9
RGBrgb(121, 44, 201)
HSLhsl(269, 64%, 48%)
HSVhsv(269, 78%, 79%)
CMYKcmyk(39.8%, 78.1%, 0%, 21.2%)
CIE-LABlab(37.99, 61.29, -67.32)
CIE-LCHlch(37.99, 91.04, 312.32°)
OKLaboklab(49.34% 0.1126 -0.1924)
OKLCHoklch(49.34% 0.223 300.3)
XYZxyz(19.3258, 10.0832, 56.1751)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792CC9 #7CC92C
analogous
#2C2DC9 #792CC9 #C82CC9
triadic
#792CC9 #C9792C #2CC979
tetradic
#792CC9 #C92C2D #7CC92C #2CC9C8
square
#792CC9 #C92C2D #7CC92C #2CC9C8
split-complementary
#792CC9 #C9C82C #2DC92C
monochromatic
#3D1665 #5B2197 #792CC9 #9858DA #B78AE5

Accessibility & contrast

On white

6.96
#792CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#792CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #792CC9
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792CC9#FFFFFF#000000##FFFFFF
##792CC91.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CD
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#66577A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #792cc9;
/* rgb */ color: rgb(121, 44, 201);
/* oklch */ color: oklch(49.3% 0.223 300.3);
Tailwind
colors: {
  custom: {
    50: '#a76edb',
    500: '#792cc9',
    950: '#000000',
  },
}
SCSS
$custom: #792cc9;
$custom-light: #a76edb;
$custom-dark: #000000;
JSON
{
  "hex": "#792cc9",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 269.427,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49337,
    "c": 0.22295,
    "h": 300.3
  },
  "luminance": 0.10083
}

Semantic roles & 50–950 ramp

primary
#792CC9
secondary
#A9CF82
accent
#E74195
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #792CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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