#792B8C#792B8C

#792B8C is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.164 H 319.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#792B8C
RGBrgb(121, 43, 140)
HSLhsl(288, 53%, 36%)
HSVhsv(288, 69%, 55%)
CMYKcmyk(13.6%, 69.3%, 0%, 45.1%)
CIE-LABlab(33.32, 48.17, -38.37)
CIE-LCHlch(33.32, 61.58, 321.46°)
OKLaboklab(44.61% 0.1242 -0.1074)
OKLCHoklch(44.61% 0.164 319.1)
XYZxyz(13.4820, 7.6868, 25.5794)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B8C #3E8C2B
analogous
#482B8C #792B8C #8C2B6E
triadic
#792B8C #8C792B #2B8C79
tetradic
#792B8C #8C482B #3E8C2B #2B6E8C
square
#792B8C #8C482B #3E8C2B #2B6E8C
split-complementary
#792B8C #6E8C2B #2B8C48
monochromatic
#280E2E #511D5D #792B8C #A139BB #BA62CF

Accessibility & contrast

On white

8.28
#792B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#792B8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B8C
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B8C#FFFFFF#000000##FFFFFF
##792B8C1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03498F
Deuteranopia (green-blind)
#31518A
Tritanopia (blue-blind)
#793D58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792b8c;
/* rgb */ color: rgb(121, 43, 140);
/* oklch */ color: oklch(44.6% 0.164 319.1);
Tailwind
colors: {
  custom: {
    50: '#a36bae',
    500: '#792b8c',
    950: '#000000',
  },
}
SCSS
$custom: #792b8c;
$custom-light: #a36bae;
$custom-dark: #000000;
JSON
{
  "hex": "#792b8c",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 140
  },
  "hsl": {
    "h": 288.247,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44614,
    "c": 0.16418,
    "h": 319.1
  },
  "luminance": 0.07686
}

Semantic roles & 50–950 ramp

primary
#792B8C
secondary
#6FB55E
accent
#DC4B68
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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