#793099#793099

#793099 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.1% C 0.170 H 313.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#793099
RGBrgb(121, 48, 153)
HSLhsl(282, 52%, 39%)
HSVhsv(282, 69%, 60%)
CMYKcmyk(20.9%, 68.6%, 0%, 40%)
CIE-LABlab(34.96, 48.67, -43.70)
CIE-LCHlch(34.96, 65.41, 318.08°)
OKLaboklab(46.06% 0.1176 -0.1231)
OKLCHoklch(46.06% 0.17 313.7)
XYZxyz(14.6909, 8.4792, 30.9936)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793099 #509930
analogous
#443099 #793099 #993085
triadic
#793099 #997930 #309979
tetradic
#793099 #994430 #509930 #308599
square
#793099 #994430 #509930 #308599
split-complementary
#793099 #859930 #309944
monochromatic
#2F133C #54216A #793099 #9C42C4 #B571D2

Accessibility & contrast

On white

7.79
#793099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#793099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793099
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793099#FFFFFF#000000##FFFFFF
##7930991.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#2A5497
Tritanopia (blue-blind)
#764560
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #793099;
/* rgb */ color: rgb(121, 48, 153);
/* oklch */ color: oklch(46.1% 0.170 313.7);
Tailwind
colors: {
  custom: {
    50: '#a36eb8',
    500: '#793099',
    950: '#000000',
  },
}
SCSS
$custom: #793099;
$custom-light: #a36eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#793099",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 281.714,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4606,
    "c": 0.17025,
    "h": 313.7
  },
  "luminance": 0.08479
}

Semantic roles & 50–950 ramp

primary
#793099
secondary
#83BA6B
accent
#DC4C78
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #793099

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

Preview Lab → · Contrast checker → · Palette generator →

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