#792FAE#792FAE

#792FAE is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.193 H 307.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#792FAE
RGBrgb(121, 47, 174)
HSLhsl(275, 57%, 43%)
HSVhsv(275, 73%, 68%)
CMYKcmyk(30.5%, 73%, 0%, 31.8%)
CIE-LABlab(36.28, 53.81, -54.21)
CIE-LCHlch(36.28, 76.38, 314.79°)
OKLaboklab(47.47% 0.1161 -0.1539)
OKLCHoklch(47.47% 0.193 307)
XYZxyz(16.5400, 9.1542, 40.9318)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792FAE #64AE2F
analogous
#3A2FAE #792FAE #AE2FA3
triadic
#792FAE #AE792F #2FAE79
tetradic
#792FAE #AE3A2F #64AE2F #2FA3AE
square
#792FAE #AE3A2F #64AE2F #2FA3AE
split-complementary
#792FAE #A3AE2F #2FAE3A
monochromatic
#36154E #57227E #792FAE #984CCF #B47CDC

Accessibility & contrast

On white

7.42
#792FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#792FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792FAE
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792FAE#FFFFFF#000000##FFFFFF
##792FAE1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792fae;
/* rgb */ color: rgb(121, 47, 174);
/* oklch */ color: oklch(47.5% 0.193 307.0);
Tailwind
colors: {
  custom: {
    50: '#a46ec7',
    500: '#792fae',
    950: '#000000',
  },
}
SCSS
$custom: #792fae;
$custom-light: #a46ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#792fae",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 274.961,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47468,
    "c": 0.19279,
    "h": 307
  },
  "luminance": 0.09154
}

Semantic roles & 50–950 ramp

primary
#792FAE
secondary
#96C475
accent
#E14787
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #792FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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