#792CAE#792CAE

#792CAE is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.2% C 0.196 H 307.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#792CAE
RGBrgb(121, 44, 174)
HSLhsl(276, 60%, 43%)
HSVhsv(276, 75%, 68%)
CMYKcmyk(30.5%, 74.7%, 0%, 31.8%)
CIE-LABlab(35.83, 55.07, -54.93)
CIE-LCHlch(35.83, 77.78, 315.07°)
OKLaboklab(47.15% 0.119 -0.156)
OKLCHoklch(47.15% 0.196 307.3)
XYZxyz(16.4242, 8.9225, 40.8932)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792CAE #61AE2C
analogous
#382CAE #792CAE #AE2CA2
triadic
#792CAE #AE792C #2CAE79
tetradic
#792CAE #AE382C #61AE2C #2CA2AE
square
#792CAE #AE382C #61AE2C #2CA2AE
split-complementary
#792CAE #A2AE2C #2CAE38
monochromatic
#35134C #57207D #792CAE #9847D0 #B478DD

Accessibility & contrast

On white

7.54
#792CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792CAE
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792CAE#FFFFFF#000000##FFFFFF
##792CAE1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#704B6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #792cae;
/* rgb */ color: rgb(121, 44, 174);
/* oklch */ color: oklch(47.2% 0.196 307.3);
Tailwind
colors: {
  custom: {
    50: '#a56dc7',
    500: '#792cae',
    950: '#000000',
  },
}
SCSS
$custom: #792cae;
$custom-light: #a56dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#792cae",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 275.538,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47153,
    "c": 0.19622,
    "h": 307.3
  },
  "luminance": 0.08922
}

Semantic roles & 50–950 ramp

primary
#792CAE
secondary
#93C571
accent
#E34585
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #792CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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