#792AB6#792AB6

#792AB6 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.206 H 305.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#792AB6
RGBrgb(121, 42, 182)
HSLhsl(274, 63%, 44%)
HSVhsv(274, 77%, 71%)
CMYKcmyk(33.5%, 76.9%, 0%, 28.6%)
CIE-LABlab(36.17, 57.68, -59.13)
CIE-LCHlch(36.17, 82.61, 314.29°)
OKLaboklab(47.59% 0.1191 -0.1684)
OKLCHoklch(47.59% 0.206 305.3)
XYZxyz(17.1547, 9.0984, 45.0993)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792AB6 #67B62A
analogous
#332AB6 #792AB6 #B62AAD
triadic
#792AB6 #B6792A #2AB679
tetradic
#792AB6 #B6332A #67B62A #2AADB6
square
#792AB6 #B6332A #67B62A #2AADB6
split-complementary
#792AB6 #ADB62A #2AB633
monochromatic
#371353 #581F84 #792AB6 #9848D5 #B47AE0

Accessibility & contrast

On white

7.45
#792AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792AB6
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792AB6#FFFFFF#000000##FFFFFF
##792AB61.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#6E4E6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #792ab6;
/* rgb */ color: rgb(121, 42, 182);
/* oklch */ color: oklch(47.6% 0.206 305.3);
Tailwind
colors: {
  custom: {
    50: '#a56ccd',
    500: '#792ab6',
    950: '#000000',
  },
}
SCSS
$custom: #792ab6;
$custom-light: #a56ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#792ab6",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 273.857,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47585,
    "c": 0.20624,
    "h": 305.3
  },
  "luminance": 0.09098
}

Semantic roles & 50–950 ramp

primary
#792AB6
secondary
#98C873
accent
#E64289
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #792AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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