#792CC1#792CC1

#792CC1 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.215 H 302.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#792CC1
RGBrgb(121, 44, 193)
HSLhsl(271, 63%, 46%)
HSVhsv(271, 77%, 76%)
CMYKcmyk(37.3%, 77.2%, 0%, 24.3%)
CIE-LABlab(37.33, 59.43, -63.73)
CIE-LCHlch(37.33, 87.14, 313.00°)
OKLaboklab(48.67% 0.1147 -0.1819)
OKLCHoklch(48.67% 0.215 302.2)
XYZxyz(18.4092, 9.7165, 51.3473)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792CC1 #74C12C
analogous
#2F2CC1 #792CC1 #C12CBF
triadic
#792CC1 #C1792C #2CC179
tetradic
#792CC1 #C12F2C #74C12C #2CBFC1
square
#792CC1 #C12F2C #74C12C #2CBFC1
split-complementary
#792CC1 #BFC12C #2CC12F
monochromatic
#3B155D #5A218F #792CC1 #9753D8 #B584E3

Accessibility & contrast

On white

7.13
#792CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#792CC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792CC1
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792CC1#FFFFFF#000000##FFFFFF
##792CC11.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#0057BE
Tritanopia (blue-blind)
#6A5376
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #792cc1;
/* rgb */ color: rgb(121, 44, 193);
/* oklch */ color: oklch(48.7% 0.215 302.2);
Tailwind
colors: {
  custom: {
    50: '#a66ed5',
    500: '#792cc1',
    950: '#000000',
  },
}
SCSS
$custom: #792cc1;
$custom-light: #a66ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#792cc1",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 271.007,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4867,
    "c": 0.21505,
    "h": 302.2
  },
  "luminance": 0.09717
}

Semantic roles & 50–950 ramp

primary
#792CC1
secondary
#A3CC7D
accent
#E64291
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #792CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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