#791E9F#791E9F

#791E9F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.196 H 313.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#791E9F
RGBrgb(121, 30, 159)
HSLhsl(282, 68%, 37%)
HSVhsv(282, 81%, 62%)
CMYKcmyk(23.9%, 81.1%, 0%, 37.6%)
CIE-LABlab(32.91, 56.98, -50.65)
CIE-LCHlch(32.91, 76.24, 318.37°)
OKLaboklab(44.74% 0.1342 -0.1433)
OKLCHoklch(44.74% 0.196 313.1)
XYZxyz(14.6063, 7.4972, 33.4718)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E9F #449F1E
analogous
#391E9F #791E9F #9F1E84
triadic
#791E9F #9F791E #1E9F79
tetradic
#791E9F #9F391E #449F1E #1E849F
square
#791E9F #9F391E #449F1E #1E849F
split-complementary
#791E9F #849F1E #1E9F39
monochromatic
#2B0B38 #52146C #791E9F #A028D2 #B858DF

Accessibility & contrast

On white

8.40
#791E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#791E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E9F
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E9F#FFFFFF#000000##FFFFFF
##791E9F1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#084F9C
Tritanopia (blue-blind)
#753E5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #791e9f;
/* rgb */ color: rgb(121, 30, 159);
/* oklch */ color: oklch(44.7% 0.196 313.1);
Tailwind
colors: {
  custom: {
    50: '#a466bc',
    500: '#791e9f',
    950: '#000000',
  },
}
SCSS
$custom: #791e9f;
$custom-light: #a466bc;
$custom-dark: #000000;
JSON
{
  "hex": "#791e9f",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 282.326,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44742,
    "c": 0.19639,
    "h": 313.1
  },
  "luminance": 0.07497
}

Semantic roles & 50–950 ramp

primary
#791E9F
secondary
#76C356
accent
#EB3D70
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #791E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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