#792AB3#792AB3

#792AB3 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.203 H 306.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#792AB3
RGBrgb(121, 42, 179)
HSLhsl(275, 62%, 43%)
HSVhsv(275, 77%, 70%)
CMYKcmyk(32.4%, 76.5%, 0%, 29.8%)
CIE-LABlab(35.94, 57.00, -57.74)
CIE-LCHlch(35.94, 81.13, 314.63°)
OKLaboklab(47.35% 0.1198 -0.1643)
OKLCHoklch(47.35% 0.203 306.1)
XYZxyz(16.8480, 8.9757, 43.4840)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792AB3 #64B32A
analogous
#352AB3 #792AB3 #B32AA8
triadic
#792AB3 #B3792A #2AB379
tetradic
#792AB3 #B3352A #64B32A #2AA8B3
square
#792AB3 #B3352A #64B32A #2AA8B3
split-complementary
#792AB3 #A8B32A #2AB335
monochromatic
#361350 #571E81 #792AB3 #9846D4 #B478DF

Accessibility & contrast

On white

7.51
#792AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#792AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792AB3
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792AB3#FFFFFF#000000##FFFFFF
##792AB31.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#6F4C6D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #792ab3;
/* rgb */ color: rgb(121, 42, 179);
/* oklch */ color: oklch(47.3% 0.203 306.1);
Tailwind
colors: {
  custom: {
    50: '#a56ccb',
    500: '#792ab3',
    950: '#000000',
  },
}
SCSS
$custom: #792ab3;
$custom-light: #a56ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#792ab3",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 274.599,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47346,
    "c": 0.20329,
    "h": 306.1
  },
  "luminance": 0.08976
}

Semantic roles & 50–950 ramp

primary
#792AB3
secondary
#96C772
accent
#E54387
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #792AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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