#792AC8#792AC8

#792AC8 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.1% C 0.224 H 300.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#792AC8
RGBrgb(121, 42, 200)
HSLhsl(270, 65%, 47%)
HSVhsv(270, 79%, 78%)
CMYKcmyk(39.5%, 79%, 0%, 21.6%)
CIE-LABlab(37.65, 61.82, -67.30)
CIE-LCHlch(37.65, 91.38, 312.57°)
OKLaboklab(49.07% 0.1144 -0.1924)
OKLCHoklch(49.07% 0.224 300.7)
XYZxyz(19.1359, 9.8908, 55.5333)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792AC8 #79C82A
analogous
#2A2AC8 #792AC8 #C82AC8
triadic
#792AC8 #C8792A #2AC879
tetradic
#792AC8 #C82A2A #79C82A #2AC8C8
square
#792AC8 #C82A2A #79C82A #2AC8C8
split-complementary
#792AC8 #C8C82A #2AC82A
monochromatic
#3C1563 #5A1F95 #792AC8 #9854DB #B687E6

Accessibility & contrast

On white

7.05
#792AC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#792AC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792AC8
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792AC8#FFFFFF#000000##FFFFFF
##792AC81.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#675579
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #792ac8;
/* rgb */ color: rgb(121, 42, 200);
/* oklch */ color: oklch(49.1% 0.224 300.7);
Tailwind
colors: {
  custom: {
    50: '#a76dda',
    500: '#792ac8',
    950: '#000000',
  },
}
SCSS
$custom: #792ac8;
$custom-light: #a76dda;
$custom-dark: #000000;
JSON
{
  "hex": "#792ac8",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 200
  },
  "hsl": {
    "h": 270,
    "s": 65.289,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49071,
    "c": 0.22382,
    "h": 300.7
  },
  "luminance": 0.09891
}

Semantic roles & 50–950 ramp

primary
#792AC8
secondary
#A7CF7F
accent
#E84094
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #792AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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