#793899#793899

#793899 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.1% C 0.159 H 312.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#793899
RGBrgb(121, 56, 153)
HSLhsl(280, 46%, 41%)
HSVhsv(280, 63%, 60%)
CMYKcmyk(20.9%, 63.4%, 0%, 40%)
CIE-LABlab(36.35, 44.82, -41.47)
CIE-LCHlch(36.35, 61.06, 317.23°)
OKLaboklab(47.07% 0.108 -0.1166)
OKLCHoklch(47.07% 0.159 312.8)
XYZxyz(15.0481, 9.1936, 31.1127)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793899 #589938
analogous
#483899 #793899 #993888
triadic
#793899 #997938 #389979
tetradic
#793899 #994838 #589938 #388899
square
#793899 #994838 #589938 #388899
split-complementary
#793899 #889938 #389948
monochromatic
#32173F #56286C #793899 #9A4FBF #B47CCF

Accessibility & contrast

On white

7.40
#793899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#793899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793899
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793899#FFFFFF#000000##FFFFFF
##7938991.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11529C
Deuteranopia (green-blind)
#325797
Tritanopia (blue-blind)
#764A63
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #793899;
/* rgb */ color: rgb(121, 56, 153);
/* oklch */ color: oklch(47.1% 0.159 312.8);
Tailwind
colors: {
  custom: {
    50: '#a373b7',
    500: '#793899',
    950: '#000000',
  },
}
SCSS
$custom: #793899;
$custom-light: #a373b7;
$custom-dark: #000000;
JSON
{
  "hex": "#793899",
  "rgb": {
    "r": 121,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 280.206,
    "s": 46.411,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47065,
    "c": 0.15889,
    "h": 312.8
  },
  "luminance": 0.09193
}

Semantic roles & 50–950 ramp

primary
#793899
secondary
#8BB874
accent
#D6527D
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #793899

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

Preview Lab → · Contrast checker → · Palette generator →

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