#792AA3#792AA3

#792AA3 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.188 H 310.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#792AA3
RGBrgb(121, 42, 163)
HSLhsl(279, 59%, 40%)
HSVhsv(279, 74%, 64%)
CMYKcmyk(25.8%, 74.2%, 0%, 36.1%)
CIE-LABlab(34.73, 53.45, -50.12)
CIE-LCHlch(34.73, 73.27, 316.84°)
OKLaboklab(46.12% 0.1229 -0.1419)
OKLCHoklch(46.12% 0.188 310.9)
XYZxyz(15.3227, 8.3656, 35.4508)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792AA3 #54A32A
analogous
#3D2AA3 #792AA3 #A32A90
triadic
#792AA3 #A3792A #2AA379
tetradic
#792AA3 #A33D2A #54A32A #2A90A3
square
#792AA3 #A33D2A #54A32A #2A90A3
split-complementary
#792AA3 #90A32A #2AA33D
monochromatic
#311142 #551D72 #792AA3 #9B3DCD #B46EDA

Accessibility & contrast

On white

7.86
#792AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#792AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792AA3
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792AA3#FFFFFF#000000##FFFFFF
##792AA31.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#1353A0
Tritanopia (blue-blind)
#734664
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #792aa3;
/* rgb */ color: rgb(121, 42, 163);
/* oklch */ color: oklch(46.1% 0.188 310.9);
Tailwind
colors: {
  custom: {
    50: '#a46bbf',
    500: '#792aa3',
    950: '#000000',
  },
}
SCSS
$custom: #792aa3;
$custom-light: #a46bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#792aa3",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 279.174,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46118,
    "c": 0.18768,
    "h": 310.9
  },
  "luminance": 0.08365
}

Semantic roles & 50–950 ramp

primary
#792AA3
secondary
#87C068
accent
#E2467C
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #792AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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