#792FA3#792FA3

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

Color values

HEX#792FA3
RGBrgb(121, 47, 163)
HSLhsl(278, 55%, 41%)
HSVhsv(278, 71%, 64%)
CMYKcmyk(25.8%, 71.2%, 0%, 36.1%)
CIE-LABlab(35.48, 51.32, -48.91)
CIE-LCHlch(35.48, 70.89, 316.38°)
OKLaboklab(46.65% 0.1177 -0.1383)
OKLCHoklch(46.65% 0.182 310.4)
XYZxyz(15.5113, 8.7427, 35.5136)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792FA3 #59A32F
analogous
#3F2FA3 #792FA3 #A32F93
triadic
#792FA3 #A3792F #2FA379
tetradic
#792FA3 #A33F2F #59A32F #2F93A3
square
#792FA3 #A33F2F #59A32F #2F93A3
split-complementary
#792FA3 #93A32F #2FA33F
monochromatic
#321444 #562173 #792FA3 #9A46CA #B475D7

Accessibility & contrast

On white

7.64
#792FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792FA3
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792FA3#FFFFFF#000000##FFFFFF
##792FA31.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#1B55A0
Tritanopia (blue-blind)
#734866
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #792fa3;
/* rgb */ color: rgb(121, 47, 163);
/* oklch */ color: oklch(46.7% 0.182 310.4);
Tailwind
colors: {
  custom: {
    50: '#a46ebf',
    500: '#792fa3',
    950: '#000000',
  },
}
SCSS
$custom: #792fa3;
$custom-light: #a46ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#792fa3",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 278.276,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46651,
    "c": 0.18167,
    "h": 310.4
  },
  "luminance": 0.08742
}

Semantic roles & 50–950 ramp

primary
#792FA3
secondary
#8CBF6F
accent
#DF497F
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #792FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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