#792DAE#792DAE

#792DAE is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.3% C 0.195 H 307.2°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#792DAE
RGBrgb(121, 45, 174)
HSLhsl(275, 59%, 43%)
HSVhsv(275, 74%, 68%)
CMYKcmyk(30.5%, 74.1%, 0%, 31.8%)
CIE-LABlab(35.98, 54.66, -54.69)
CIE-LCHlch(35.98, 77.32, 314.98°)
OKLaboklab(47.26% 0.118 -0.1553)
OKLCHoklch(47.26% 0.195 307.2)
XYZxyz(16.4619, 8.9979, 40.9057)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792DAE #62AE2D
analogous
#392DAE #792DAE #AE2DA2
triadic
#792DAE #AE792D #2DAE79
tetradic
#792DAE #AE392D #62AE2D #2DA2AE
square
#792DAE #AE392D #62AE2D #2DA2AE
split-complementary
#792DAE #A2AE2D #2DAE39
monochromatic
#35144D #57207D #792DAE #9848D0 #B479DC

Accessibility & contrast

On white

7.50
#792DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792DAE
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792DAE#FFFFFF#000000##FFFFFF
##792DAE1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792dae;
/* rgb */ color: rgb(121, 45, 174);
/* oklch */ color: oklch(47.3% 0.195 307.2);
Tailwind
colors: {
  custom: {
    50: '#a56dc7',
    500: '#792dae',
    950: '#000000',
  },
}
SCSS
$custom: #792dae;
$custom-light: #a56dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#792dae",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 275.349,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47256,
    "c": 0.1951,
    "h": 307.2
  },
  "luminance": 0.08998
}

Semantic roles & 50–950 ramp

primary
#792DAE
secondary
#94C472
accent
#E24686
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #792DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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