#792C8E#792C8E

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

Color values

HEX#792C8E
RGBrgb(121, 44, 142)
HSLhsl(287, 53%, 36%)
HSVhsv(287, 69%, 56%)
CMYKcmyk(14.8%, 69%, 0%, 44.3%)
CIE-LABlab(33.60, 48.14, -39.15)
CIE-LCHlch(33.60, 62.05, 320.88°)
OKLaboklab(44.86% 0.1229 -0.1097)
OKLCHoklch(44.86% 0.165 318.2)
XYZxyz(13.6677, 7.8199, 26.3754)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C8E #418E2C
analogous
#482C8E #792C8E #8E2C72
triadic
#792C8E #8E792C #2C8E79
tetradic
#792C8E #8E482C #418E2C #2C728E
square
#792C8E #8E482C #418E2C #2C728E
split-complementary
#792C8E #728E2C #2C8E48
monochromatic
#290F31 #511E5F #792C8E #A13ABD #B965CF

Accessibility & contrast

On white

8.19
#792C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#792C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C8E
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C8E#FFFFFF#000000##FFFFFF
##792C8E1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014A91
Deuteranopia (green-blind)
#31518C
Tritanopia (blue-blind)
#793E59
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792c8e;
/* rgb */ color: rgb(121, 44, 142);
/* oklch */ color: oklch(44.9% 0.165 318.2);
Tailwind
colors: {
  custom: {
    50: '#a36caf',
    500: '#792c8e',
    950: '#000000',
  },
}
SCSS
$custom: #792c8e;
$custom-light: #a36caf;
$custom-dark: #000000;
JSON
{
  "hex": "#792c8e",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 287.143,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44858,
    "c": 0.16476,
    "h": 318.2
  },
  "luminance": 0.07819
}

Semantic roles & 50–950 ramp

primary
#792C8E
secondary
#72B660
accent
#DC4C6B
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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