#792CB5#792CB5

#792CB5 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.203 H 305.4°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#792CB5
RGBrgb(121, 44, 181)
HSLhsl(274, 61%, 44%)
HSVhsv(274, 76%, 71%)
CMYKcmyk(33.1%, 75.7%, 0%, 29%)
CIE-LABlab(36.37, 56.66, -58.22)
CIE-LCHlch(36.37, 81.24, 314.22°)
OKLaboklab(47.7% 0.1176 -0.1657)
OKLCHoklch(47.7% 0.203 305.4)
XYZxyz(17.1245, 9.2026, 44.5812)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792CB5 #68B52C
analogous
#352CB5 #792CB5 #B52CAD
triadic
#792CB5 #B5792C #2CB579
tetradic
#792CB5 #B5352C #68B52C #2CADB5
square
#792CB5 #B5352C #68B52C #2CADB5
split-complementary
#792CB5 #ADB52C #2CB535
monochromatic
#371453 #582084 #792CB5 #984BD3 #B47CDF

Accessibility & contrast

On white

7.39
#792CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#792CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792CB5
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792CB5#FFFFFF#000000##FFFFFF
##792CB51.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#6E4E6F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #792cb5;
/* rgb */ color: rgb(121, 44, 181);
/* oklch */ color: oklch(47.7% 0.203 305.4);
Tailwind
colors: {
  custom: {
    50: '#a56dcc',
    500: '#792cb5',
    950: '#000000',
  },
}
SCSS
$custom: #792cb5;
$custom-light: #a56dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#792cb5",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 273.723,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.477,
    "c": 0.20316,
    "h": 305.4
  },
  "luminance": 0.09203
}

Semantic roles & 50–950 ramp

primary
#792CB5
secondary
#99C875
accent
#E4448A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #792CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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