#792DA3#792DA3

#792DA3 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.184 H 310.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#792DA3
RGBrgb(121, 45, 163)
HSLhsl(279, 57%, 41%)
HSVhsv(279, 72%, 64%)
CMYKcmyk(25.8%, 72.4%, 0%, 36.1%)
CIE-LABlab(35.18, 52.19, -49.40)
CIE-LCHlch(35.18, 71.87, 316.57°)
OKLaboklab(46.43% 0.1198 -0.1398)
OKLCHoklch(46.43% 0.184 310.6)
XYZxyz(15.4331, 8.5864, 35.4876)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792DA3 #57A32D
analogous
#3E2DA3 #792DA3 #A32D92
triadic
#792DA3 #A3792D #2DA379
tetradic
#792DA3 #A33E2D #57A32D #2D92A3
square
#792DA3 #A33E2D #57A32D #2D92A3
split-complementary
#792DA3 #92A32D #2DA33E
monochromatic
#321343 #552073 #792DA3 #9A42CB #B472D8

Accessibility & contrast

On white

7.73
#792DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#792DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792DA3
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792DA3#FFFFFF#000000##FFFFFF
##792DA31.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#1854A0
Tritanopia (blue-blind)
#734765
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #792da3;
/* rgb */ color: rgb(121, 45, 163);
/* oklch */ color: oklch(46.4% 0.184 310.6);
Tailwind
colors: {
  custom: {
    50: '#a46dbf',
    500: '#792da3',
    950: '#000000',
  },
}
SCSS
$custom: #792da3;
$custom-light: #a46dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#792da3",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 278.644,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46432,
    "c": 0.18413,
    "h": 310.6
  },
  "luminance": 0.08586
}

Semantic roles & 50–950 ramp

primary
#792DA3
secondary
#8AC06C
accent
#E0487E
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #792DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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