#792BAA#792BAA

#792BAA is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.193 H 308.6°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#792BAA
RGBrgb(121, 43, 170)
HSLhsl(277, 60%, 42%)
HSVhsv(277, 75%, 67%)
CMYKcmyk(28.8%, 74.7%, 0%, 33.3%)
CIE-LABlab(35.39, 54.58, -53.26)
CIE-LCHlch(35.39, 76.26, 315.70°)
OKLaboklab(46.75% 0.1207 -0.1511)
OKLCHoklch(46.75% 0.193 308.6)
XYZxyz(16.0032, 8.6953, 38.8577)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792BAA #5CAA2B
analogous
#392BAA #792BAA #AA2B9C
triadic
#792BAA #AA792B #2BAA79
tetradic
#792BAA #AA392B #5CAA2B #2B9CAA
square
#792BAA #AA392B #5CAA2B #2B9CAA
split-complementary
#792BAA #9CAA2B #2BAA39
monochromatic
#331248 #561F79 #792BAA #9943CF #B474DC

Accessibility & contrast

On white

7.67
#792BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#792BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792BAA
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792BAA#FFFFFF#000000##FFFFFF
##792BAA1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#714968
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #792baa;
/* rgb */ color: rgb(121, 43, 170);
/* oklch */ color: oklch(46.7% 0.193 308.6);
Tailwind
colors: {
  custom: {
    50: '#a46cc4',
    500: '#792baa',
    950: '#000000',
  },
}
SCSS
$custom: #792baa;
$custom-light: #a46cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#792baa",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 276.85,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46745,
    "c": 0.19339,
    "h": 308.6
  },
  "luminance": 0.08695
}

Semantic roles & 50–950 ramp

primary
#792BAA
secondary
#8FC36E
accent
#E34582
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #792BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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