#792E86#792E86

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

Color values

HEX#792E86
RGBrgb(121, 46, 134)
HSLhsl(291, 49%, 35%)
HSVhsv(291, 66%, 53%)
CMYKcmyk(9.7%, 65.7%, 0%, 47.5%)
CIE-LABlab(33.44, 45.61, -34.48)
CIE-LCHlch(33.44, 57.17, 322.91°)
OKLaboklab(44.58% 0.1206 -0.0961)
OKLCHoklch(44.58% 0.154 321.5)
XYZxyz(13.1648, 7.7408, 23.3503)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E86 #3B862E
analogous
#4D2E86 #792E86 #862E67
triadic
#792E86 #86792E #2E8679
tetradic
#792E86 #864D2E #3B862E #2E6786
square
#792E86 #864D2E #3B862E #2E6786
split-complementary
#792E86 #67862E #2E864D
monochromatic
#270F2B #501E58 #792E86 #A23EB4 #BB64CA

Accessibility & contrast

On white

8.24
#792E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#792E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E86
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E86#FFFFFF#000000##FFFFFF
##792E861.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184989
Deuteranopia (green-blind)
#385184
Tritanopia (blue-blind)
#7A3C56
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792e86;
/* rgb */ color: rgb(121, 46, 134);
/* oklch */ color: oklch(44.6% 0.154 321.5);
Tailwind
colors: {
  custom: {
    50: '#a26caa',
    500: '#792e86',
    950: '#000000',
  },
}
SCSS
$custom: #792e86;
$custom-light: #a26caa;
$custom-dark: #000000;
JSON
{
  "hex": "#792e86",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 291.136,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44579,
    "c": 0.15422,
    "h": 321.5
  },
  "luminance": 0.0774
}

Semantic roles & 50–950 ramp

primary
#792E86
secondary
#6BB15F
accent
#D84F64
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792E86

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

Preview Lab → · Contrast checker → · Palette generator →

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