#792CB3#792CB3

#792CB3 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.201 H 305.9°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#792CB3
RGBrgb(121, 44, 179)
HSLhsl(274, 61%, 44%)
HSVhsv(274, 75%, 70%)
CMYKcmyk(32.4%, 75.4%, 0%, 29.8%)
CIE-LABlab(36.22, 56.20, -57.28)
CIE-LCHlch(36.22, 80.25, 314.46°)
OKLaboklab(47.54% 0.118 -0.1629)
OKLCHoklch(47.54% 0.201 305.9)
XYZxyz(16.9207, 9.1211, 43.5082)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792CB3 #66B32C
analogous
#352CB3 #792CB3 #B32CA9
triadic
#792CB3 #B3792C #2CB379
tetradic
#792CB3 #B3352C #66B32C #2CA9B3
square
#792CB3 #B3352C #66B32C #2CA9B3
split-complementary
#792CB3 #A9B32C #2CB335
monochromatic
#371451 #582082 #792CB3 #984AD2 #B47BDF

Accessibility & contrast

On white

7.44
#792CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#792CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792CB3
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792CB3#FFFFFF#000000##FFFFFF
##792CB31.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#6F4D6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #792cb3;
/* rgb */ color: rgb(121, 44, 179);
/* oklch */ color: oklch(47.5% 0.201 305.9);
Tailwind
colors: {
  custom: {
    50: '#a56dcb',
    500: '#792cb3',
    950: '#000000',
  },
}
SCSS
$custom: #792cb3;
$custom-light: #a56dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#792cb3",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 274.222,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47542,
    "c": 0.20117,
    "h": 305.9
  },
  "luminance": 0.09121
}

Semantic roles & 50–950 ramp

primary
#792CB3
secondary
#98C774
accent
#E44489
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #792CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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