#792EAE#792EAE

#792EAE is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.194 H 307.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#792EAE
RGBrgb(121, 46, 174)
HSLhsl(275, 58%, 43%)
HSVhsv(275, 74%, 68%)
CMYKcmyk(30.5%, 73.6%, 0%, 31.8%)
CIE-LABlab(36.13, 54.23, -54.45)
CIE-LCHlch(36.13, 76.85, 314.89°)
OKLaboklab(47.36% 0.1171 -0.1546)
OKLCHoklch(47.36% 0.194 307.1)
XYZxyz(16.5005, 9.0751, 40.9186)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792EAE #63AE2E
analogous
#392EAE #792EAE #AE2EA3
triadic
#792EAE #AE792E #2EAE79
tetradic
#792EAE #AE392E #63AE2E #2EA3AE
square
#792EAE #AE392E #63AE2E #2EA3AE
split-complementary
#792EAE #A3AE2E #2EAE39
monochromatic
#36144D #57217E #792EAE #984ACF #B47ADC

Accessibility & contrast

On white

7.46
#792EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#792EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792EAE
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792EAE#FFFFFF#000000##FFFFFF
##792EAE1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792eae;
/* rgb */ color: rgb(121, 46, 174);
/* oklch */ color: oklch(47.4% 0.194 307.1);
Tailwind
colors: {
  custom: {
    50: '#a56ec7',
    500: '#792eae',
    950: '#000000',
  },
}
SCSS
$custom: #792eae;
$custom-light: #a56ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#792eae",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 275.156,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47361,
    "c": 0.19396,
    "h": 307.1
  },
  "luminance": 0.09075
}

Semantic roles & 50–950 ramp

primary
#792EAE
secondary
#95C474
accent
#E14687
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #792EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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