#792C8F#792C8F

#792C8F is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.166 H 317.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#792C8F
RGBrgb(121, 44, 143)
HSLhsl(287, 53%, 37%)
HSVhsv(287, 69%, 56%)
CMYKcmyk(15.4%, 69.2%, 0%, 43.9%)
CIE-LABlab(33.67, 48.34, -39.66)
CIE-LCHlch(33.67, 62.53, 320.63°)
OKLaboklab(44.93% 0.1229 -0.1112)
OKLCHoklch(44.93% 0.166 317.8)
XYZxyz(13.7431, 7.8501, 26.7726)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C8F #428F2C
analogous
#482C8F #792C8F #8F2C74
triadic
#792C8F #8F792C #2C8F79
tetradic
#792C8F #8F482C #428F2C #2C748F
square
#792C8F #8F482C #428F2C #2C748F
split-complementary
#792C8F #748F2C #2C8F48
monochromatic
#2A0F31 #511E60 #792C8F #A13ABE #B866D0

Accessibility & contrast

On white

8.17
#792C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#792C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##792C8F#FFFFFF#000000##FFFFFF
##792C8F1.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)
#004A92
Deuteranopia (green-blind)
#30528D
Tritanopia (blue-blind)
#783F5A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792c8f;
/* rgb */ color: rgb(121, 44, 143);
/* oklch */ color: oklch(44.9% 0.166 317.8);
Tailwind
colors: {
  custom: {
    50: '#a36cb0',
    500: '#792c8f',
    950: '#000000',
  },
}
SCSS
$custom: #792c8f;
$custom-light: #a36cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#792c8f",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 286.667,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44925,
    "c": 0.16573,
    "h": 317.8
  },
  "luminance": 0.07849
}

Semantic roles & 50–950 ramp

primary
#792C8F
secondary
#74B661
accent
#DC4B6C
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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