#792CB8#792CB8

#792CB8 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.206 H 304.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#792CB8
RGBrgb(121, 44, 184)
HSLhsl(273, 61%, 45%)
HSVhsv(273, 76%, 72%)
CMYKcmyk(34.2%, 76.1%, 0%, 27.8%)
CIE-LABlab(36.61, 57.35, -59.61)
CIE-LCHlch(36.61, 82.71, 313.89°)
OKLaboklab(47.94% 0.1169 -0.1698)
OKLCHoklch(47.94% 0.206 304.5)
XYZxyz(17.4356, 9.3271, 46.2199)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792CB8 #6BB82C
analogous
#332CB8 #792CB8 #B82CB1
triadic
#792CB8 #B8792C #2CB879
tetradic
#792CB8 #B8332C #6BB82C #2CB1B8
square
#792CB8 #B8332C #6BB82C #2CB1B8
split-complementary
#792CB8 #B1B82C #2CB833
monochromatic
#381455 #592087 #792CB8 #974DD4 #B47EE0

Accessibility & contrast

On white

7.33
#792CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#792CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792CB8
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792CB8#FFFFFF#000000##FFFFFF
##792CB81.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#6D5071
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #792cb8;
/* rgb */ color: rgb(121, 44, 184);
/* oklch */ color: oklch(47.9% 0.206 304.5);
Tailwind
colors: {
  custom: {
    50: '#a56dce',
    500: '#792cb8',
    950: '#000000',
  },
}
SCSS
$custom: #792cb8;
$custom-light: #a56dce;
$custom-dark: #000000;
JSON
{
  "hex": "#792cb8",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 273,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47939,
    "c": 0.20613,
    "h": 304.5
  },
  "luminance": 0.09327
}

Semantic roles & 50–950 ramp

primary
#792CB8
secondary
#9CC977
accent
#E5438C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #792CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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