#793CB9#793CB9

#793CB9 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.8% C 0.188 H 302.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#793CB9
RGBrgb(121, 60, 185)
HSLhsl(269, 51%, 48%)
HSVhsv(269, 68%, 73%)
CMYKcmyk(34.6%, 67.6%, 0%, 27.5%)
CIE-LABlab(39.24, 50.38, -55.92)
CIE-LCHlch(39.24, 75.27, 312.02°)
OKLaboklab(49.83% 0.1009 -0.159)
OKLCHoklch(49.83% 0.188 302.4)
XYZxyz(18.2559, 10.7994, 47.0122)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CB9 #7CB93C
analogous
#3C3EB9 #793CB9 #B73CB9
triadic
#793CB9 #B9793C #3CB979
tetradic
#793CB9 #B93C3E #7CB93C #3CB9B7
square
#793CB9 #B93C3E #7CB93C #3CB9B7
split-complementary
#793CB9 #B9B73C #3EB93C
monochromatic
#3D1E5D #5B2D8B #793CB9 #9865CD #B793DC

Accessibility & contrast

On white

6.65
#793CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#793CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CB9
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CB9#FFFFFF#000000##FFFFFF
##793CB91.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #793cb9;
/* rgb */ color: rgb(121, 60, 185);
/* oklch */ color: oklch(49.8% 0.188 302.4);
Tailwind
colors: {
  custom: {
    50: '#a576cf',
    500: '#793cb9',
    950: '#000000',
  },
}
SCSS
$custom: #793cb9;
$custom-light: #a576cf;
$custom-dark: #000000;
JSON
{
  "hex": "#793cb9",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 269.28,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49832,
    "c": 0.18833,
    "h": 302.4
  },
  "luminance": 0.10799
}

Semantic roles & 50–950 ramp

primary
#793CB9
secondary
#A9C789
accent
#DA4D96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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