#793BB9#793BB9

#793BB9 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.190 H 302.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#793BB9
RGBrgb(121, 59, 185)
HSLhsl(270, 52%, 48%)
HSVhsv(270, 68%, 73%)
CMYKcmyk(34.6%, 68.1%, 0%, 27.5%)
CIE-LABlab(39.06, 50.87, -56.21)
CIE-LCHlch(39.06, 75.81, 312.15°)
OKLaboklab(49.71% 0.102 -0.1599)
OKLCHoklch(49.71% 0.19 302.5)
XYZxyz(18.2040, 10.6956, 46.9950)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BB9 #7BB93B
analogous
#3B3CB9 #793BB9 #B83BB9
triadic
#793BB9 #B9793B #3BB979
tetradic
#793BB9 #B93B3C #7BB93B #3BB9B8
square
#793BB9 #B93B3C #7BB93B #3BB9B8
split-complementary
#793BB9 #B9B83B #3CB93B
monochromatic
#3C1D5C #5B2C8B #793BB9 #9864CD #B792DC

Accessibility & contrast

On white

6.69
#793BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#793BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BB9
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BB9#FFFFFF#000000##FFFFFF
##793BB91.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#6C5875
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #793bb9;
/* rgb */ color: rgb(121, 59, 185);
/* oklch */ color: oklch(49.7% 0.190 302.5);
Tailwind
colors: {
  custom: {
    50: '#a575cf',
    500: '#793bb9',
    950: '#000000',
  },
}
SCSS
$custom: #793bb9;
$custom-light: #a575cf;
$custom-dark: #000000;
JSON
{
  "hex": "#793bb9",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 269.524,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49705,
    "c": 0.18962,
    "h": 302.5
  },
  "luminance": 0.10696
}

Semantic roles & 50–950 ramp

primary
#793BB9
secondary
#A8C788
accent
#DB4D95
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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