#792CAA#792CAA

#792CAA is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.192 H 308.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#792CAA
RGBrgb(121, 44, 170)
HSLhsl(277, 59%, 42%)
HSVhsv(277, 74%, 67%)
CMYKcmyk(28.8%, 74.1%, 0%, 33.3%)
CIE-LABlab(35.54, 54.17, -53.02)
CIE-LCHlch(35.54, 75.80, 315.61°)
OKLaboklab(46.85% 0.1197 -0.1504)
OKLCHoklch(46.85% 0.192 308.5)
XYZxyz(16.0400, 8.7689, 38.8700)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792CAA #5DAA2C
analogous
#3A2CAA #792CAA #AA2C9C
triadic
#792CAA #AA792C #2CAA79
tetradic
#792CAA #AA3A2C #5DAA2C #2C9CAA
square
#792CAA #AA3A2C #5DAA2C #2C9CAA
split-complementary
#792CAA #9CAA2C #2CAA3A
monochromatic
#341349 #561F79 #792CAA #9944CF #B475DB

Accessibility & contrast

On white

7.63
#792CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#792CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792CAA
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792CAA#FFFFFF#000000##FFFFFF
##792CAA1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0154A7
Tritanopia (blue-blind)
#714A69
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #792caa;
/* rgb */ color: rgb(121, 44, 170);
/* oklch */ color: oklch(46.8% 0.192 308.5);
Tailwind
colors: {
  custom: {
    50: '#a46dc4',
    500: '#792caa',
    950: '#000000',
  },
}
SCSS
$custom: #792caa;
$custom-light: #a46dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#792caa",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 276.667,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46848,
    "c": 0.19226,
    "h": 308.5
  },
  "luminance": 0.08769
}

Semantic roles & 50–950 ramp

primary
#792CAA
secondary
#90C36F
accent
#E24683
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #792CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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