#791C95#791C95

#791C95 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.189 H 316.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#791C95
RGBrgb(121, 28, 149)
HSLhsl(286, 68%, 35%)
HSVhsv(286, 81%, 58%)
CMYKcmyk(18.8%, 81.2%, 0%, 41.6%)
CIE-LABlab(31.96, 55.60, -46.10)
CIE-LCHlch(31.96, 72.23, 320.34°)
OKLaboklab(43.84% 0.1378 -0.13)
OKLCHoklch(43.84% 0.189 316.7)
XYZxyz(13.7244, 7.0660, 29.0689)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791C95 #38951C
analogous
#3D1C95 #791C95 #951C74
triadic
#791C95 #95791C #1C9579
tetradic
#791C95 #953D1C #38951C #1C7495
square
#791C95 #953D1C #38951C #1C7495
split-complementary
#791C95 #74951C #1C953D
monochromatic
#25092E #4F1261 #791C95 #A326C9 #BC4EDE

Accessibility & contrast

On white

8.70
#791C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#791C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791C95
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791C95#FFFFFF#000000##FFFFFF
##791C951.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#1C4E92
Tritanopia (blue-blind)
#773859
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #791c95;
/* rgb */ color: rgb(121, 28, 149);
/* oklch */ color: oklch(43.8% 0.189 316.7);
Tailwind
colors: {
  custom: {
    50: '#a465b5',
    500: '#791c95',
    950: '#000000',
  },
}
SCSS
$custom: #791c95;
$custom-light: #a465b5;
$custom-dark: #000000;
JSON
{
  "hex": "#791c95",
  "rgb": {
    "r": 121,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 286.116,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43838,
    "c": 0.18941,
    "h": 316.7
  },
  "luminance": 0.07065
}

Semantic roles & 50–950 ramp

primary
#791C95
secondary
#67C04D
accent
#EB3D65
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791C95

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

Preview Lab → · Contrast checker → · Palette generator →

#791C95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva