#792996#792996

#792996 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.176 H 315.4°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#792996
RGBrgb(121, 41, 150)
HSLhsl(284, 57%, 37%)
HSVhsv(284, 73%, 59%)
CMYKcmyk(19.3%, 72.7%, 0%, 41.2%)
CIE-LABlab(33.68, 51.08, -43.94)
CIE-LCHlch(33.68, 67.38, 319.30°)
OKLaboklab(45.08% 0.1256 -0.1237)
OKLCHoklch(45.08% 0.176 315.4)
XYZxyz(14.1822, 7.8534, 29.6170)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792996 #469629
analogous
#432996 #792996 #96297C
triadic
#792996 #967929 #299679
tetradic
#792996 #964329 #469629 #297C96
square
#792996 #964329 #469629 #297C96
split-complementary
#792996 #7C9629 #299643
monochromatic
#2B0F36 #521C66 #792996 #A036C6 #B765D5

Accessibility & contrast

On white

8.17
#792996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#792996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792996
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792996#FFFFFF#000000##FFFFFF
##7929961.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#265194
Tritanopia (blue-blind)
#77405D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792996;
/* rgb */ color: rgb(121, 41, 150);
/* oklch */ color: oklch(45.1% 0.176 315.4);
Tailwind
colors: {
  custom: {
    50: '#a36ab5',
    500: '#792996',
    950: '#000000',
  },
}
SCSS
$custom: #792996;
$custom-light: #a36ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#792996",
  "rgb": {
    "r": 121,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 284.037,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45077,
    "c": 0.17632,
    "h": 315.4
  },
  "luminance": 0.07853
}

Semantic roles & 50–950 ramp

primary
#792996
secondary
#78BB60
accent
#E04770
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792996

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

Preview Lab → · Contrast checker → · Palette generator →

#792996 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva