#792F88#792F88

#792F88 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.8% C 0.155 H 320.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#792F88
RGBrgb(121, 47, 136)
HSLhsl(290, 49%, 36%)
HSVhsv(290, 65%, 53%)
CMYKcmyk(11%, 65.4%, 0%, 46.7%)
CIE-LABlab(33.72, 45.55, -35.26)
CIE-LCHlch(33.72, 57.60, 322.26°)
OKLaboklab(44.83% 0.1194 -0.0984)
OKLCHoklch(44.83% 0.155 320.5)
XYZxyz(13.3451, 7.8762, 24.1051)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F88 #3E882F
analogous
#4C2F88 #792F88 #882F6A
triadic
#792F88 #88792F #2F8879
tetradic
#792F88 #884C2F #3E882F #2F6A88
square
#792F88 #884C2F #3E882F #2F6A88
split-complementary
#792F88 #6A882F #2F884C
monochromatic
#28102D #511F5B #792F88 #A13FB5 #BA67CA

Accessibility & contrast

On white

8.15
#792F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#792F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F88
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F88#FFFFFF#000000##FFFFFF
##792F881.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174A8B
Deuteranopia (green-blind)
#375286
Tritanopia (blue-blind)
#7A3E57
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792f88;
/* rgb */ color: rgb(121, 47, 136);
/* oklch */ color: oklch(44.8% 0.155 320.5);
Tailwind
colors: {
  custom: {
    50: '#a26dab',
    500: '#792f88',
    950: '#000000',
  },
}
SCSS
$custom: #792f88;
$custom-light: #a26dab;
$custom-dark: #000000;
JSON
{
  "hex": "#792f88",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 289.888,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44825,
    "c": 0.15472,
    "h": 320.5
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#792F88
secondary
#6FB161
accent
#D85067
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792F88

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

Preview Lab → · Contrast checker → · Palette generator →

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