#792A86#792A86

#792A86 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.160 H 321.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#792A86
RGBrgb(121, 42, 134)
HSLhsl(292, 52%, 35%)
HSVhsv(292, 69%, 53%)
CMYKcmyk(9.7%, 68.7%, 0%, 47.5%)
CIE-LABlab(32.79, 47.40, -35.50)
CIE-LCHlch(32.79, 59.22, 323.17°)
OKLaboklab(44.12% 0.1255 -0.099)
OKLCHoklch(44.12% 0.16 321.7)
XYZxyz(13.0157, 7.4428, 23.3007)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A86 #37862A
analogous
#4B2A86 #792A86 #862A65
triadic
#792A86 #86792A #2A8679
tetradic
#792A86 #864B2A #37862A #2A6586
square
#792A86 #864B2A #37862A #2A6586
split-complementary
#792A86 #65862A #2A864B
monochromatic
#250D29 #4F1B57 #792A86 #A339B5 #BD5ECD

Accessibility & contrast

On white

8.44
#792A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#792A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792A86
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A86#FFFFFF#000000##FFFFFF
##792A861.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4789
Deuteranopia (green-blind)
#355084
Tritanopia (blue-blind)
#7A3A54
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792a86;
/* rgb */ color: rgb(121, 42, 134);
/* oklch */ color: oklch(44.1% 0.160 321.7);
Tailwind
colors: {
  custom: {
    50: '#a36aaa',
    500: '#792a86',
    950: '#000000',
  },
}
SCSS
$custom: #792a86;
$custom-light: #a36aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#792a86",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 291.522,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44116,
    "c": 0.15985,
    "h": 321.7
  },
  "luminance": 0.07442
}

Semantic roles & 50–950 ramp

primary
#792A86
secondary
#66B25A
accent
#DC4C60
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792A86

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

Preview Lab → · Contrast checker → · Palette generator →

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