#792EB0#792EB0

#792EB0 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.196 H 306.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#792EB0
RGBrgb(121, 46, 176)
HSLhsl(275, 59%, 44%)
HSVhsv(275, 74%, 69%)
CMYKcmyk(31.3%, 73.9%, 0%, 31%)
CIE-LABlab(36.28, 54.69, -55.40)
CIE-LCHlch(36.28, 77.85, 314.63°)
OKLaboklab(47.51% 0.1167 -0.1574)
OKLCHoklch(47.51% 0.196 306.6)
XYZxyz(16.6969, 9.1537, 41.9531)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792EB0 #65B02E
analogous
#382EB0 #792EB0 #B02EA6
triadic
#792EB0 #B0792E #2EB079
tetradic
#792EB0 #B0382E #65B02E #2EA6B0
square
#792EB0 #B0382E #65B02E #2EA6B0
split-complementary
#792EB0 #A6B02E #2EB038
monochromatic
#36154F #58217F #792EB0 #984BD0 #B47CDD

Accessibility & contrast

On white

7.42
#792EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#792EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792EB0
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792EB0#FFFFFF#000000##FFFFFF
##792EB01.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#6F4D6D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #792eb0;
/* rgb */ color: rgb(121, 46, 176);
/* oklch */ color: oklch(47.5% 0.196 306.6);
Tailwind
colors: {
  custom: {
    50: '#a56ec8',
    500: '#792eb0',
    950: '#000000',
  },
}
SCSS
$custom: #792eb0;
$custom-light: #a56ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#792eb0",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 274.615,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47514,
    "c": 0.19596,
    "h": 306.6
  },
  "luminance": 0.09154
}

Semantic roles & 50–950 ramp

primary
#792EB0
secondary
#97C575
accent
#E24688
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #792EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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