#792FA1#792FA1

#792FA1 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.180 H 311.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#792FA1
RGBrgb(121, 47, 161)
HSLhsl(279, 55%, 41%)
HSVhsv(279, 71%, 63%)
CMYKcmyk(24.8%, 70.8%, 0%, 36.9%)
CIE-LABlab(35.34, 50.88, -47.93)
CIE-LCHlch(35.34, 69.90, 316.71°)
OKLaboklab(46.51% 0.118 -0.1355)
OKLCHoklch(46.51% 0.18 311.1)
XYZxyz(15.3335, 8.6716, 34.5773)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792FA1 #57A12F
analogous
#402FA1 #792FA1 #A12F90
triadic
#792FA1 #A1792F #2FA179
tetradic
#792FA1 #A1402F #57A12F #2F90A1
square
#792FA1 #A1402F #57A12F #2F90A1
split-complementary
#792FA1 #90A12F #2FA140
monochromatic
#321342 #552172 #792FA1 #9A45C9 #B474D6

Accessibility & contrast

On white

7.68
#792FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#792FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792FA1
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792FA1#FFFFFF#000000##FFFFFF
##792FA11.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#1F549E
Tritanopia (blue-blind)
#744865
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #792fa1;
/* rgb */ color: rgb(121, 47, 161);
/* oklch */ color: oklch(46.5% 0.180 311.1);
Tailwind
colors: {
  custom: {
    50: '#a46ebd',
    500: '#792fa1',
    950: '#000000',
  },
}
SCSS
$custom: #792fa1;
$custom-light: #a46ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#792fa1",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 278.947,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46507,
    "c": 0.17965,
    "h": 311.1
  },
  "luminance": 0.08671
}

Semantic roles & 50–950 ramp

primary
#792FA1
secondary
#8ABE6E
accent
#DE4A7E
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #792FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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