#792F92#792F92

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

Color values

HEX#792F92
RGBrgb(121, 47, 146)
HSLhsl(285, 51%, 38%)
HSVhsv(285, 68%, 57%)
CMYKcmyk(17.1%, 67.8%, 0%, 42.7%)
CIE-LABlab(34.34, 47.63, -40.42)
CIE-LCHlch(34.34, 62.47, 319.68°)
OKLaboklab(45.47% 0.1192 -0.1135)
OKLCHoklch(45.47% 0.165 316.4)
XYZxyz(14.0892, 8.1738, 28.0241)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F92 #48922F
analogous
#472F92 #792F92 #922F7A
triadic
#792F92 #92792F #2F9279
tetradic
#792F92 #92472F #48922F #2F7A92
square
#792F92 #92472F #48922F #2F7A92
split-complementary
#792F92 #7A922F #2F9247
monochromatic
#2C1135 #532064 #792F92 #9F3EC0 #B66CD0

Accessibility & contrast

On white

7.97
#792F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792F92
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F92#FFFFFF#000000##FFFFFF
##792F921.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#305390
Tritanopia (blue-blind)
#78425C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #792f92;
/* rgb */ color: rgb(121, 47, 146);
/* oklch */ color: oklch(45.5% 0.165 316.4);
Tailwind
colors: {
  custom: {
    50: '#a36db2',
    500: '#792f92',
    950: '#000000',
  },
}
SCSS
$custom: #792f92;
$custom-light: #a36db2;
$custom-dark: #000000;
JSON
{
  "hex": "#792f92",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 284.848,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4547,
    "c": 0.16459,
    "h": 316.4
  },
  "luminance": 0.08173
}

Semantic roles & 50–950 ramp

primary
#792F92
secondary
#7AB766
accent
#DB4D71
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792F92

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

Preview Lab → · Contrast checker → · Palette generator →

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