#792F95#792F95

#792F95 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.7% C 0.168 H 315.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#792F95
RGBrgb(121, 47, 149)
HSLhsl(284, 52%, 38%)
HSVhsv(284, 68%, 58%)
CMYKcmyk(18.8%, 68.5%, 0%, 41.6%)
CIE-LABlab(34.54, 48.26, -41.95)
CIE-LCHlch(34.54, 63.94, 319.01°)
OKLaboklab(45.67% 0.1191 -0.1179)
OKLCHoklch(45.67% 0.168 315.3)
XYZxyz(14.3256, 8.2684, 29.2693)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F95 #4B952F
analogous
#462F95 #792F95 #952F7E
triadic
#792F95 #95792F #2F9579
tetradic
#792F95 #95462F #4B952F #2F7E95
square
#792F95 #95462F #4B952F #2F7E95
split-complementary
#792F95 #7E952F #2F9546
monochromatic
#2D1238 #532066 #792F95 #9E3FC2 #B66DD1

Accessibility & contrast

On white

7.91
#792F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792F95
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F95#FFFFFF#000000##FFFFFF
##792F951.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#2D5393
Tritanopia (blue-blind)
#77435E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #792f95;
/* rgb */ color: rgb(121, 47, 149);
/* oklch */ color: oklch(45.7% 0.168 315.3);
Tailwind
colors: {
  custom: {
    50: '#a36db5',
    500: '#792f95',
    950: '#000000',
  },
}
SCSS
$custom: #792f95;
$custom-light: #a36db5;
$custom-dark: #000000;
JSON
{
  "hex": "#792f95",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 283.529,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45671,
    "c": 0.16759,
    "h": 315.3
  },
  "luminance": 0.08268
}

Semantic roles & 50–950 ramp

primary
#792F95
secondary
#7EB867
accent
#DB4C74
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792F95

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

Preview Lab → · Contrast checker → · Palette generator →

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