#792CB6#792CB6

#792CB6 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.204 H 305.1°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#792CB6
RGBrgb(121, 44, 182)
HSLhsl(273, 61%, 44%)
HSVhsv(273, 76%, 71%)
CMYKcmyk(33.5%, 75.8%, 0%, 28.6%)
CIE-LABlab(36.45, 56.89, -58.68)
CIE-LCHlch(36.45, 81.73, 314.11°)
OKLaboklab(47.78% 0.1173 -0.1671)
OKLCHoklch(47.78% 0.204 305.1)
XYZxyz(17.2274, 9.2438, 45.1236)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792CB6 #69B62C
analogous
#342CB6 #792CB6 #B62CAE
triadic
#792CB6 #B6792C #2CB679
tetradic
#792CB6 #B6342C #69B62C #2CAEB6
square
#792CB6 #B6342C #69B62C #2CAEB6
split-complementary
#792CB6 #AEB62C #2CB634
monochromatic
#371453 #582085 #792CB6 #974CD4 #B47DE0

Accessibility & contrast

On white

7.37
#792CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#792CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792CB6
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792CB6#FFFFFF#000000##FFFFFF
##792CB61.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#6E4F6F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #792cb6;
/* rgb */ color: rgb(121, 44, 182);
/* oklch */ color: oklch(47.8% 0.204 305.1);
Tailwind
colors: {
  custom: {
    50: '#a56dcd',
    500: '#792cb6',
    950: '#000000',
  },
}
SCSS
$custom: #792cb6;
$custom-light: #a56dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#792cb6",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 273.478,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47779,
    "c": 0.20415,
    "h": 305.1
  },
  "luminance": 0.09244
}

Semantic roles & 50–950 ramp

primary
#792CB6
secondary
#9AC876
accent
#E4448B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #792CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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