#792C87#792C87

#792C87 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.158 H 321.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#792C87
RGBrgb(121, 44, 135)
HSLhsl(291, 51%, 35%)
HSVhsv(291, 67%, 53%)
CMYKcmyk(10.4%, 67.4%, 0%, 47.1%)
CIE-LABlab(33.17, 46.72, -35.52)
CIE-LCHlch(33.17, 58.69, 322.75°)
OKLaboklab(44.41% 0.1231 -0.0991)
OKLCHoklch(44.41% 0.158 321.2)
XYZxyz(13.1585, 7.6162, 23.6939)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C87 #3A872C
analogous
#4B2C87 #792C87 #872C68
triadic
#792C87 #87792C #2C8779
tetradic
#792C87 #874B2C #3A872C #2C6887
square
#792C87 #874B2C #3A872C #2C6887
split-complementary
#792C87 #68872C #2C874B
monochromatic
#260E2B #501D59 #792C87 #A23BB5 #BB62CC

Accessibility & contrast

On white

8.32
#792C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#792C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C87
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C87#FFFFFF#000000##FFFFFF
##792C871.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12498A
Deuteranopia (green-blind)
#365185
Tritanopia (blue-blind)
#7A3B56
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792c87;
/* rgb */ color: rgb(121, 44, 135);
/* oklch */ color: oklch(44.4% 0.158 321.2);
Tailwind
colors: {
  custom: {
    50: '#a36baa',
    500: '#792c87',
    950: '#000000',
  },
}
SCSS
$custom: #792c87;
$custom-light: #a36baa;
$custom-dark: #000000;
JSON
{
  "hex": "#792c87",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 290.769,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44406,
    "c": 0.15804,
    "h": 321.2
  },
  "luminance": 0.07616
}

Semantic roles & 50–950 ramp

primary
#792C87
secondary
#6AB25D
accent
#DA4D63
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792C87

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

Preview Lab → · Contrast checker → · Palette generator →

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