#792CB2#792CB2

#792CB2 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.200 H 306.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#792CB2
RGBrgb(121, 44, 178)
HSLhsl(274, 60%, 44%)
HSVhsv(274, 75%, 70%)
CMYKcmyk(32%, 75.3%, 0%, 30.2%)
CIE-LABlab(36.14, 55.98, -56.81)
CIE-LCHlch(36.14, 79.76, 314.57°)
OKLaboklab(47.46% 0.1182 -0.1616)
OKLCHoklch(47.46% 0.2 306.2)
XYZxyz(16.8200, 9.0808, 42.9775)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792CB2 #65B22C
analogous
#362CB2 #792CB2 #B22CA8
triadic
#792CB2 #B2792C #2CB279
tetradic
#792CB2 #B2362C #65B22C #2CA8B2
square
#792CB2 #B2362C #65B22C #2CA8B2
split-complementary
#792CB2 #A8B22C #2CB236
monochromatic
#361450 #582081 #792CB2 #9849D2 #B47ADE

Accessibility & contrast

On white

7.46
#792CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#792CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792CB2
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792CB2#FFFFFF#000000##FFFFFF
##792CB21.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#6F4D6D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #792cb2;
/* rgb */ color: rgb(121, 44, 178);
/* oklch */ color: oklch(47.5% 0.200 306.2);
Tailwind
colors: {
  custom: {
    50: '#a56dca',
    500: '#792cb2',
    950: '#000000',
  },
}
SCSS
$custom: #792cb2;
$custom-light: #a56dca;
$custom-dark: #000000;
JSON
{
  "hex": "#792cb2",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 274.478,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47464,
    "c": 0.20019,
    "h": 306.2
  },
  "luminance": 0.09081
}

Semantic roles & 50–950 ramp

primary
#792CB2
secondary
#97C673
accent
#E44488
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #792CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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