#792AC0#792AC0

#792AC0 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.4% C 0.216 H 302.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#792AC0
RGBrgb(121, 42, 192)
HSLhsl(272, 64%, 46%)
HSVhsv(272, 78%, 75%)
CMYKcmyk(37%, 78.1%, 0%, 24.7%)
CIE-LABlab(36.98, 59.97, -63.71)
CIE-LCHlch(36.98, 87.49, 313.27°)
OKLaboklab(48.4% 0.1166 -0.1818)
OKLCHoklch(48.4% 0.216 302.7)
XYZxyz(18.2253, 9.5266, 50.7376)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792AC0 #71C02A
analogous
#2E2AC0 #792AC0 #C02ABC
triadic
#792AC0 #C0792A #2AC079
tetradic
#792AC0 #C02E2A #71C02A #2ABCC0
square
#792AC0 #C02E2A #71C02A #2ABCC0
split-complementary
#792AC0 #BCC02A #2AC02E
monochromatic
#3A145C #591F8E #792AC0 #974FD8 #B581E3

Accessibility & contrast

On white

7.23
#792AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#792AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792AC0
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792AC0#FFFFFF#000000##FFFFFF
##792AC01.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792ac0;
/* rgb */ color: rgb(121, 42, 192);
/* oklch */ color: oklch(48.4% 0.216 302.7);
Tailwind
colors: {
  custom: {
    50: '#a66dd4',
    500: '#792ac0',
    950: '#000000',
  },
}
SCSS
$custom: #792ac0;
$custom-light: #a66dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#792ac0",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 192
  },
  "hsl": {
    "h": 271.6,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.484,
    "c": 0.21601,
    "h": 302.7
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#792AC0
secondary
#A1CC7A
accent
#E7418F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #792AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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