#792E94#792E94

#792E94 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.5% C 0.168 H 315.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#792E94
RGBrgb(121, 46, 148)
HSLhsl(284, 53%, 38%)
HSVhsv(284, 69%, 58%)
CMYKcmyk(18.2%, 68.9%, 0%, 42%)
CIE-LABlab(34.31, 48.50, -41.70)
CIE-LCHlch(34.31, 63.96, 319.31°)
OKLaboklab(45.49% 0.1203 -0.1172)
OKLCHoklch(45.49% 0.168 315.7)
XYZxyz(14.2066, 8.1576, 28.8375)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E94 #49942E
analogous
#462E94 #792E94 #942E7C
triadic
#792E94 #94792E #2E9479
tetradic
#792E94 #94462E #49942E #2E7C94
square
#792E94 #94462E #49942E #2E7C94
split-complementary
#792E94 #7C942E #2E9446
monochromatic
#2D1137 #531F65 #792E94 #9F3DC3 #B66BD1

Accessibility & contrast

On white

7.98
#792E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#792E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E94
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E94#FFFFFF#000000##FFFFFF
##792E941.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#2D5392
Tritanopia (blue-blind)
#77425D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #792e94;
/* rgb */ color: rgb(121, 46, 148);
/* oklch */ color: oklch(45.5% 0.168 315.7);
Tailwind
colors: {
  custom: {
    50: '#a36db4',
    500: '#792e94',
    950: '#000000',
  },
}
SCSS
$custom: #792e94;
$custom-light: #a36db4;
$custom-dark: #000000;
JSON
{
  "hex": "#792e94",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 284.118,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45487,
    "c": 0.16795,
    "h": 315.7
  },
  "luminance": 0.08157
}

Semantic roles & 50–950 ramp

primary
#792E94
secondary
#7BB866
accent
#DC4C72
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792E94

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

Preview Lab → · Contrast checker → · Palette generator →

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