#793DB7#793DB7

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

Color values

HEX#793DB7
RGBrgb(121, 61, 183)
HSLhsl(270, 50%, 48%)
HSVhsv(270, 67%, 72%)
CMYKcmyk(33.9%, 66.7%, 0%, 28.2%)
CIE-LABlab(39.28, 49.39, -54.68)
CIE-LCHlch(39.28, 73.69, 312.09°)
OKLaboklab(49.81% 0.1 -0.1554)
OKLCHoklch(49.81% 0.185 302.8)
XYZxyz(18.0992, 10.8213, 45.9258)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793DB7 #7BB73D
analogous
#3D3EB7 #793DB7 #B63DB7
triadic
#793DB7 #B7793D #3DB779
tetradic
#793DB7 #B73D3E #7BB73D #3DB7B6
square
#793DB7 #B73D3E #7BB73D #3DB7B6
split-complementary
#793DB7 #B7B63D #3EB73D
monochromatic
#3C1E5B #5B2E89 #793DB7 #9865CC #B793DB

Accessibility & contrast

On white

6.64
#793DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #793DB7
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793DB7#FFFFFF#000000##FFFFFF
##793DB71.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#085CB4
Tritanopia (blue-blind)
#6D5875
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #793db7;
/* rgb */ color: rgb(121, 61, 183);
/* oklch */ color: oklch(49.8% 0.185 302.8);
Tailwind
colors: {
  custom: {
    50: '#a477cd',
    500: '#793db7',
    950: '#000000',
  },
}
SCSS
$custom: #793db7;
$custom-light: #a477cd;
$custom-dark: #000000;
JSON
{
  "hex": "#793db7",
  "rgb": {
    "r": 121,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 269.508,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49814,
    "c": 0.1848,
    "h": 302.8
  },
  "luminance": 0.10821
}

Semantic roles & 50–950 ramp

primary
#793DB7
secondary
#A8C689
accent
#DA4E95
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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