#792CB7#792CB7

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

Color values

HEX#792CB7
RGBrgb(121, 44, 183)
HSLhsl(273, 61%, 45%)
HSVhsv(273, 76%, 72%)
CMYKcmyk(33.9%, 76%, 0%, 28.2%)
CIE-LABlab(36.53, 57.12, -59.15)
CIE-LCHlch(36.53, 82.22, 314.00°)
OKLaboklab(47.86% 0.1171 -0.1684)
OKLCHoklch(47.86% 0.205 304.8)
XYZxyz(17.3311, 9.2853, 45.6698)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792CB7 #6AB72C
analogous
#332CB7 #792CB7 #B72CB0
triadic
#792CB7 #B7792C #2CB779
tetradic
#792CB7 #B7332C #6AB72C #2CB0B7
square
#792CB7 #B7332C #6AB72C #2CB0B7
split-complementary
#792CB7 #B0B72C #2CB733
monochromatic
#381454 #582086 #792CB7 #974CD4 #B47EE0

Accessibility & contrast

On white

7.35
#792CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#792CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792CB7
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792CB7#FFFFFF#000000##FFFFFF
##792CB71.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#6D4F70
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #792cb7;
/* rgb */ color: rgb(121, 44, 183);
/* oklch */ color: oklch(47.9% 0.205 304.8);
Tailwind
colors: {
  custom: {
    50: '#a56dce',
    500: '#792cb7',
    950: '#000000',
  },
}
SCSS
$custom: #792cb7;
$custom-light: #a56dce;
$custom-dark: #000000;
JSON
{
  "hex": "#792cb7",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 273.237,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47859,
    "c": 0.20514,
    "h": 304.8
  },
  "luminance": 0.09285
}

Semantic roles & 50–950 ramp

primary
#792CB7
secondary
#9BC876
accent
#E4438B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #792CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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