#793E95#793E95

#793E95 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 47.6% C 0.145 H 313.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#793E95
RGBrgb(121, 62, 149)
HSLhsl(281, 41%, 41%)
HSVhsv(281, 58%, 58%)
CMYKcmyk(18.8%, 58.4%, 0%, 41.6%)
CIE-LABlab(37.26, 40.81, -37.59)
CIE-LCHlch(37.26, 55.48, 317.35°)
OKLaboklab(47.65% 0.1 -0.1053)
OKLCHoklch(47.65% 0.145 313.5)
XYZxyz(15.0317, 9.6805, 29.5046)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793E95 #5A953E
analogous
#4E3E95 #793E95 #953E86
triadic
#793E95 #95793E #3E9579
tetradic
#793E95 #954E3E #5A953E #3E8695
square
#793E95 #954E3E #5A953E #3E8695
split-complementary
#793E95 #86953E #3E954E
monochromatic
#331A3F #562C6A #793E95 #9A57B9 #B482CB

Accessibility & contrast

On white

7.15
#793E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#793E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793E95
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793E95#FFFFFF#000000##FFFFFF
##793E951.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255498
Deuteranopia (green-blind)
#3B5993
Tritanopia (blue-blind)
#764D63
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #793e95;
/* rgb */ color: rgb(121, 62, 149);
/* oklch */ color: oklch(47.6% 0.145 313.5);
Tailwind
colors: {
  custom: {
    50: '#a276b4',
    500: '#793e95',
    950: '#000000',
  },
}
SCSS
$custom: #793e95;
$custom-light: #a276b4;
$custom-dark: #000000;
JSON
{
  "hex": "#793e95",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 280.69,
    "s": 41.232,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47648,
    "c": 0.14521,
    "h": 313.5
  },
  "luminance": 0.0968
}

Semantic roles & 50–950 ramp

primary
#793E95
secondary
#8DB57A
accent
#D1577E
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #793E95

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

Preview Lab → · Contrast checker → · Palette generator →

#793E95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva