#792D83#792D83

#792D83 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.153 H 322.9°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#792D83
RGBrgb(121, 45, 131)
HSLhsl(293, 49%, 35%)
HSVhsv(293, 66%, 51%)
CMYKcmyk(7.6%, 65.6%, 0%, 48.6%)
CIE-LABlab(33.09, 45.47, -33.16)
CIE-LCHlch(33.09, 56.28, 323.90°)
OKLaboklab(44.28% 0.1218 -0.0922)
OKLCHoklch(44.28% 0.153 322.9)
XYZxyz(12.9199, 7.5811, 22.2511)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D83 #37832D
analogous
#4E2D83 #792D83 #832D62
triadic
#792D83 #83792D #2D8379
tetradic
#792D83 #834E2D #37832D #2D6283
square
#792D83 #834E2D #37832D #2D6283
split-complementary
#792D83 #62832D #2D834E
monochromatic
#250E28 #4F1D55 #792D83 #A33DB1 #BD62C9

Accessibility & contrast

On white

8.35
#792D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792D83
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D83#FFFFFF#000000##FFFFFF
##792D831.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4886
Deuteranopia (green-blind)
#395181
Tritanopia (blue-blind)
#7B3A54
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792d83;
/* rgb */ color: rgb(121, 45, 131);
/* oklch */ color: oklch(44.3% 0.153 322.9);
Tailwind
colors: {
  custom: {
    50: '#a26ca7',
    500: '#792d83',
    950: '#000000',
  },
}
SCSS
$custom: #792d83;
$custom-light: #a26ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#792d83",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 293.023,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44275,
    "c": 0.1528,
    "h": 322.9
  },
  "luminance": 0.0758
}

Semantic roles & 50–950 ramp

primary
#792D83
secondary
#66AF5C
accent
#D84F5F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792D83

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

Preview Lab → · Contrast checker → · Palette generator →

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