#792F94#792F94

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

Color values

HEX#792F94
RGBrgb(121, 47, 148)
HSLhsl(284, 52%, 38%)
HSVhsv(284, 68%, 58%)
CMYKcmyk(18.2%, 68.2%, 0%, 42%)
CIE-LABlab(34.47, 48.05, -41.44)
CIE-LCHlch(34.47, 63.45, 319.22°)
OKLaboklab(45.6% 0.1191 -0.1164)
OKLCHoklch(45.6% 0.167 315.7)
XYZxyz(14.2461, 8.2366, 28.8506)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F94 #4A942F
analogous
#462F94 #792F94 #942F7C
triadic
#792F94 #94792F #2F9479
tetradic
#792F94 #94462F #4A942F #2F7C94
square
#792F94 #94462F #4A942F #2F7C94
split-complementary
#792F94 #7C942F #2F9446
monochromatic
#2D1137 #532066 #792F94 #9F3EC2 #B66DD1

Accessibility & contrast

On white

7.93
#792F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#792F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F94
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F94#FFFFFF#000000##FFFFFF
##792F941.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792f94;
/* rgb */ color: rgb(121, 47, 148);
/* oklch */ color: oklch(45.6% 0.167 315.7);
Tailwind
colors: {
  custom: {
    50: '#a36db4',
    500: '#792f94',
    950: '#000000',
  },
}
SCSS
$custom: #792f94;
$custom-light: #a36db4;
$custom-dark: #000000;
JSON
{
  "hex": "#792f94",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 283.96,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45604,
    "c": 0.16658,
    "h": 315.7
  },
  "luminance": 0.08236
}

Semantic roles & 50–950 ramp

primary
#792F94
secondary
#7DB867
accent
#DB4D73
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792F94

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

Preview Lab → · Contrast checker → · Palette generator →

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