#792BC2#792BC2

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

Color values

HEX#792BC2
RGBrgb(121, 43, 194)
HSLhsl(271, 64%, 46%)
HSVhsv(271, 78%, 76%)
CMYKcmyk(37.6%, 77.8%, 0%, 23.9%)
CIE-LABlab(37.28, 60.05, -64.40)
CIE-LCHlch(37.28, 88.05, 313.00°)
OKLaboklab(48.66% 0.1153 -0.1839)
OKLCHoklch(48.66% 0.217 302.1)
XYZxyz(18.4843, 9.6877, 51.9246)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792BC2 #74C22B
analogous
#2D2BC2 #792BC2 #C22BC0
triadic
#792BC2 #C2792B #2BC279
tetradic
#792BC2 #C22D2B #74C22B #2BC0C2
square
#792BC2 #C22D2B #74C22B #2BC0C2
split-complementary
#792BC2 #C0C22B #2BC22D
monochromatic
#3B155E #5A2090 #792BC2 #9752D9 #B584E4

Accessibility & contrast

On white

7.15
#792BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792BC2
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792BC2#FFFFFF#000000##FFFFFF
##792BC21.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#695376
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #792bc2;
/* rgb */ color: rgb(121, 43, 194);
/* oklch */ color: oklch(48.7% 0.217 302.1);
Tailwind
colors: {
  custom: {
    50: '#a66dd5',
    500: '#792bc2',
    950: '#000000',
  },
}
SCSS
$custom: #792bc2;
$custom-light: #a66dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#792bc2",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 270.993,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48658,
    "c": 0.217,
    "h": 302.1
  },
  "luminance": 0.09688
}

Semantic roles & 50–950 ramp

primary
#792BC2
secondary
#A3CD7C
accent
#E74191
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #792BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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