#792E7E#792E7E

#792E7E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.1% C 0.147 H 325.2°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#792E7E
RGBrgb(121, 46, 126)
HSLhsl(296, 47%, 34%)
HSVhsv(296, 63%, 49%)
CMYKcmyk(4%, 63.5%, 0%, 50.6%)
CIE-LABlab(32.98, 44.03, -30.23)
CIE-LCHlch(32.98, 53.41, 325.53°)
OKLaboklab(44.1% 0.1203 -0.0837)
OKLCHoklch(44.1% 0.147 325.2)
XYZxyz(12.6278, 7.5260, 20.5222)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E7E #337E2E
analogous
#512E7E #792E7E #7E2E5B
triadic
#792E7E #7E792E #2E7E79
tetradic
#792E7E #7E512E #337E2E #2E5B7E
square
#792E7E #7E512E #337E2E #2E5B7E
split-complementary
#792E7E #5B7E2E #2E7E51
monochromatic
#230D24 #4E1E51 #792E7E #A43EAB #BF61C5

Accessibility & contrast

On white

8.38
#792E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#792E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E7E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E7E#FFFFFF#000000##FFFFFF
##792E7E1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214880
Deuteranopia (green-blind)
#3D517C
Tritanopia (blue-blind)
#7C3951
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792e7e;
/* rgb */ color: rgb(121, 46, 126);
/* oklch */ color: oklch(44.1% 0.147 325.2);
Tailwind
colors: {
  custom: {
    50: '#a26ca4',
    500: '#792e7e',
    950: '#000000',
  },
}
SCSS
$custom: #792e7e;
$custom-light: #a26ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#792e7e",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 296.25,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44095,
    "c": 0.1466,
    "h": 325.2
  },
  "luminance": 0.07525
}

Semantic roles & 50–950 ramp

primary
#792E7E
secondary
#61AC5C
accent
#D6525A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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