#792BC0#792BC0

#792BC0 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.5% C 0.215 H 302.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#792BC0
RGBrgb(121, 43, 192)
HSLhsl(271, 63%, 46%)
HSVhsv(271, 78%, 75%)
CMYKcmyk(37%, 77.6%, 0%, 24.7%)
CIE-LABlab(37.11, 59.58, -63.50)
CIE-LCHlch(37.11, 87.07, 313.18°)
OKLaboklab(48.49% 0.1158 -0.1812)
OKLCHoklch(48.49% 0.215 302.6)
XYZxyz(18.2612, 9.5984, 50.7496)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792BC0 #72C02B
analogous
#2E2BC0 #792BC0 #C02BBC
triadic
#792BC0 #C0792B #2BC079
tetradic
#792BC0 #C02E2B #72C02B #2BBCC0
square
#792BC0 #C02E2B #72C02B #2BBCC0
split-complementary
#792BC0 #BCC02B #2BC02E
monochromatic
#3A155C #59208E #792BC0 #9750D8 #B582E3

Accessibility & contrast

On white

7.19
#792BC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#792BC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792BC0
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792BC0#FFFFFF#000000##FFFFFF
##792BC01.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#6A5275
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #792bc0;
/* rgb */ color: rgb(121, 43, 192);
/* oklch */ color: oklch(48.5% 0.215 302.6);
Tailwind
colors: {
  custom: {
    50: '#a66dd4',
    500: '#792bc0',
    950: '#000000',
  },
}
SCSS
$custom: #792bc0;
$custom-light: #a66dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#792bc0",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 271.409,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48493,
    "c": 0.21504,
    "h": 302.6
  },
  "luminance": 0.09598
}

Semantic roles & 50–950 ramp

primary
#792BC0
secondary
#A1CC7B
accent
#E64190
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #792BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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