#792AA8#792AA8

#792AA8 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.5% C 0.193 H 309.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#792AA8
RGBrgb(121, 42, 168)
HSLhsl(278, 60%, 41%)
HSVhsv(278, 75%, 66%)
CMYKcmyk(28%, 75%, 0%, 34.1%)
CIE-LABlab(35.10, 54.55, -52.53)
CIE-LCHlch(35.10, 75.73, 316.08°)
OKLaboklab(46.49% 0.122 -0.149)
OKLCHoklch(46.49% 0.193 309.3)
XYZxyz(15.7796, 8.5483, 37.8569)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792AA8 #59A82A
analogous
#3A2AA8 #792AA8 #A82A98
triadic
#792AA8 #A8792A #2AA879
tetradic
#792AA8 #A83A2A #59A82A #2A98A8
square
#792AA8 #A83A2A #59A82A #2A98A8
split-complementary
#792AA8 #98A82A #2AA83A
monochromatic
#321246 #561E77 #792AA8 #9A40CF #B471DB

Accessibility & contrast

On white

7.75
#792AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#792AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792AA8
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792AA8#FFFFFF#000000##FFFFFF
##792AA81.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0354A5
Tritanopia (blue-blind)
#724867
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #792aa8;
/* rgb */ color: rgb(121, 42, 168);
/* oklch */ color: oklch(46.5% 0.193 309.3);
Tailwind
colors: {
  custom: {
    50: '#a46cc3',
    500: '#792aa8',
    950: '#000000',
  },
}
SCSS
$custom: #792aa8;
$custom-light: #a46cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#792aa8",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 277.619,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46493,
    "c": 0.19256,
    "h": 309.3
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#792AA8
secondary
#8CC36B
accent
#E34580
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #792AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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