#793199#793199

#793199 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.2% C 0.169 H 313.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#793199
RGBrgb(121, 49, 153)
HSLhsl(282, 51%, 40%)
HSVhsv(282, 68%, 60%)
CMYKcmyk(20.9%, 68%, 0%, 40%)
CIE-LABlab(35.13, 48.21, -43.43)
CIE-LCHlch(35.13, 64.89, 317.98°)
OKLaboklab(46.18% 0.1165 -0.1223)
OKLCHoklch(46.18% 0.169 313.6)
XYZxyz(14.7323, 8.5619, 31.0074)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793199 #519931
analogous
#453199 #793199 #993185
triadic
#793199 #997931 #319979
tetradic
#793199 #994531 #519931 #318599
square
#793199 #994531 #519931 #318599
split-complementary
#793199 #859931 #319945
monochromatic
#30133C #54226B #793199 #9C44C3 #B572D2

Accessibility & contrast

On white

7.74
#793199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#793199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793199
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793199#FFFFFF#000000##FFFFFF
##7931991.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#2B5497
Tritanopia (blue-blind)
#764661
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #793199;
/* rgb */ color: rgb(121, 49, 153);
/* oklch */ color: oklch(46.2% 0.169 313.6);
Tailwind
colors: {
  custom: {
    50: '#a36fb8',
    500: '#793199',
    950: '#000000',
  },
}
SCSS
$custom: #793199;
$custom-light: #a36fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#793199",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 281.538,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46179,
    "c": 0.1689,
    "h": 313.6
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#793199
secondary
#84BA6C
accent
#DB4D79
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #793199

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

Preview Lab → · Contrast checker → · Palette generator →

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