#793DB5#793DB5

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

Color values

HEX#793DB5
RGBrgb(121, 61, 181)
HSLhsl(270, 50%, 47%)
HSVhsv(270, 66%, 71%)
CMYKcmyk(33.1%, 66.3%, 0%, 29%)
CIE-LABlab(39.14, 48.90, -53.73)
CIE-LCHlch(39.14, 72.65, 312.30°)
OKLaboklab(49.67% 0.1002 -0.1526)
OKLCHoklch(49.67% 0.183 303.3)
XYZxyz(17.8925, 10.7386, 44.8372)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793DB5 #79B53D
analogous
#3D3DB5 #793DB5 #B53DB5
triadic
#793DB5 #B5793D #3DB579
tetradic
#793DB5 #B53D3D #79B53D #3DB5B5
square
#793DB5 #B53D3D #79B53D #3DB5B5
split-complementary
#793DB5 #B5B53D #3DB53D
monochromatic
#3C1E59 #5A2E87 #793DB5 #9864CB #B692DA

Accessibility & contrast

On white

6.67
#793DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#793DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793DB5
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793DB5#FFFFFF#000000##FFFFFF
##793DB51.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#105CB2
Tritanopia (blue-blind)
#6D5874
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #793db5;
/* rgb */ color: rgb(121, 61, 181);
/* oklch */ color: oklch(49.7% 0.183 303.3);
Tailwind
colors: {
  custom: {
    50: '#a476cc',
    500: '#793db5',
    950: '#000000',
  },
}
SCSS
$custom: #793db5;
$custom-light: #a476cc;
$custom-dark: #000000;
JSON
{
  "hex": "#793db5",
  "rgb": {
    "r": 121,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 270,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49668,
    "c": 0.18257,
    "h": 303.3
  },
  "luminance": 0.10739
}

Semantic roles & 50–950 ramp

primary
#793DB5
secondary
#A7C588
accent
#D94F94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #793DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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