#792CAD#792CAD

#792CAD is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.1% C 0.195 H 307.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#792CAD
RGBrgb(121, 44, 173)
HSLhsl(276, 59%, 43%)
HSVhsv(276, 75%, 68%)
CMYKcmyk(30.1%, 74.6%, 0%, 32.2%)
CIE-LABlab(35.76, 54.84, -54.45)
CIE-LCHlch(35.76, 77.29, 315.21°)
OKLaboklab(47.08% 0.1192 -0.1546)
OKLCHoklch(47.08% 0.195 307.6)
XYZxyz(16.3271, 8.8837, 40.3817)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792CAD #60AD2C
analogous
#392CAD #792CAD #AD2CA0
triadic
#792CAD #AD792C #2CAD79
tetradic
#792CAD #AD392C #60AD2C #2CA0AD
square
#792CAD #AD392C #60AD2C #2CA0AD
split-complementary
#792CAD #A0AD2C #2CAD39
monochromatic
#35134B #57207C #792CAD #9846D0 #B477DC

Accessibility & contrast

On white

7.56
#792CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#792CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792CAD
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792CAD#FFFFFF#000000##FFFFFF
##792CAD1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#704B6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #792cad;
/* rgb */ color: rgb(121, 44, 173);
/* oklch */ color: oklch(47.1% 0.195 307.6);
Tailwind
colors: {
  custom: {
    50: '#a56dc6',
    500: '#792cad',
    950: '#000000',
  },
}
SCSS
$custom: #792cad;
$custom-light: #a56dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#792cad",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 275.814,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47076,
    "c": 0.19523,
    "h": 307.6
  },
  "luminance": 0.08883
}

Semantic roles & 50–950 ramp

primary
#792CAD
secondary
#92C471
accent
#E34585
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #792CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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