#792BB7#792BB7

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

Color values

HEX#792BB7
RGBrgb(121, 43, 183)
HSLhsl(273, 62%, 44%)
HSVhsv(273, 77%, 72%)
CMYKcmyk(33.9%, 76.5%, 0%, 28.2%)
CIE-LABlab(36.39, 57.52, -59.37)
CIE-LCHlch(36.39, 82.66, 314.09°)
OKLaboklab(47.76% 0.118 -0.1691)
OKLCHoklch(47.76% 0.206 304.9)
XYZxyz(17.2943, 9.2117, 45.6575)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792BB7 #69B72B
analogous
#332BB7 #792BB7 #B72BAF
triadic
#792BB7 #B7792B #2BB779
tetradic
#792BB7 #B7332B #69B72B #2BAFB7
square
#792BB7 #B7332B #69B72B #2BAFB7
split-complementary
#792BB7 #AFB72B #2BB733
monochromatic
#371454 #581F85 #792BB7 #974BD5 #B47CE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##792BB7#FFFFFF#000000##FFFFFF
##792BB71.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)
#0054BB
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#6D4F70
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #792bb7;
/* rgb */ color: rgb(121, 43, 183);
/* oklch */ color: oklch(47.8% 0.206 304.9);
Tailwind
colors: {
  custom: {
    50: '#a56dce',
    500: '#792bb7',
    950: '#000000',
  },
}
SCSS
$custom: #792bb7;
$custom-light: #a56dce;
$custom-dark: #000000;
JSON
{
  "hex": "#792bb7",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 273.429,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47761,
    "c": 0.20618,
    "h": 304.9
  },
  "luminance": 0.09212
}

Semantic roles & 50–950 ramp

primary
#792BB7
secondary
#9AC975
accent
#E5438B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #792BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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