#792CC7#792CC7

#792CC7 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.2% C 0.221 H 300.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#792CC7
RGBrgb(121, 44, 199)
HSLhsl(270, 64%, 48%)
HSVhsv(270, 78%, 78%)
CMYKcmyk(39.2%, 77.9%, 0%, 22%)
CIE-LABlab(37.82, 60.83, -66.43)
CIE-LCHlch(37.82, 90.07, 312.48°)
OKLaboklab(49.17% 0.1132 -0.1898)
OKLCHoklch(49.17% 0.221 300.8)
XYZxyz(19.0921, 9.9897, 54.9441)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792CC7 #7AC72C
analogous
#2C2DC7 #792CC7 #C62CC7
triadic
#792CC7 #C7792C #2CC779
tetradic
#792CC7 #C72C2D #7AC72C #2CC7C6
square
#792CC7 #C72C2D #7AC72C #2CC7C6
split-complementary
#792CC7 #C7C62C #2DC72C
monochromatic
#3C1663 #5B2195 #792CC7 #9856DA #B689E5

Accessibility & contrast

On white

7.00
#792CC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#792CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #792CC7
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792CC7#FFFFFF#000000##FFFFFF
##792CC71.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CB
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#675679
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #792cc7;
/* rgb */ color: rgb(121, 44, 199);
/* oklch */ color: oklch(49.2% 0.221 300.8);
Tailwind
colors: {
  custom: {
    50: '#a76ed9',
    500: '#792cc7',
    950: '#000000',
  },
}
SCSS
$custom: #792cc7;
$custom-light: #a76ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#792cc7",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 199
  },
  "hsl": {
    "h": 269.806,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49169,
    "c": 0.22098,
    "h": 300.8
  },
  "luminance": 0.0999
}

Semantic roles & 50–950 ramp

primary
#792CC7
secondary
#A8CF80
accent
#E74194
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #792CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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