#791794#791794

#791794 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.4% C 0.193 H 317.3°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#791794
RGBrgb(121, 23, 148)
HSLhsl(287, 73%, 34%)
HSVhsv(287, 84%, 58%)
CMYKcmyk(18.2%, 84.5%, 0%, 42%)
CIE-LABlab(31.39, 56.86, -46.41)
CIE-LCHlch(31.39, 73.39, 320.78°)
OKLaboklab(43.41% 0.1417 -0.1308)
OKLCHoklch(43.41% 0.193 317.3)
XYZxyz(13.5361, 6.8165, 28.6139)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791794 #329417
analogous
#3A1794 #791794 #941770
triadic
#791794 #947917 #179479
tetradic
#791794 #943A17 #329417 #177094
square
#791794 #943A17 #329417 #177094
split-complementary
#791794 #709417 #17943A
monochromatic
#22072A #4E0F5F #791794 #A41FC9 #C044E2

Accessibility & contrast

On white

8.89
#791794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#791794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791794
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791794#FFFFFF#000000##FFFFFF
##7917941.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#1A4D91
Tritanopia (blue-blind)
#783658
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #791794;
/* rgb */ color: rgb(121, 23, 148);
/* oklch */ color: oklch(43.4% 0.193 317.3);
Tailwind
colors: {
  custom: {
    50: '#a463b4',
    500: '#791794',
    950: '#000000',
  },
}
SCSS
$custom: #791794;
$custom-light: #a463b4;
$custom-dark: #000000;
JSON
{
  "hex": "#791794",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 148
  },
  "hsl": {
    "h": 287.04,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43414,
    "c": 0.19285,
    "h": 317.3
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

primary
#791794
secondary
#5FC344
accent
#F03860
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791794

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

Preview Lab → · Contrast checker → · Palette generator →

#791794 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva