#793DB9#793DB9

#793DB9 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.187 H 302.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#793DB9
RGBrgb(121, 61, 185)
HSLhsl(269, 50%, 48%)
HSVhsv(269, 67%, 73%)
CMYKcmyk(34.6%, 67%, 0%, 27.5%)
CIE-LABlab(39.42, 49.88, -55.63)
CIE-LCHlch(39.42, 74.72, 311.88°)
OKLaboklab(49.96% 0.0998 -0.1582)
OKLCHoklch(49.96% 0.187 302.2)
XYZxyz(18.3088, 10.9052, 47.0299)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793DB9 #7DB93D
analogous
#3D3FB9 #793DB9 #B73DB9
triadic
#793DB9 #B9793D #3DB979
tetradic
#793DB9 #B93D3F #7DB93D #3DB9B7
square
#793DB9 #B93D3F #7DB93D #3DB9B7
split-complementary
#793DB9 #B9B73D #3FB93D
monochromatic
#3D1F5D #5B2E8B #793DB9 #9866CD #B795DC

Accessibility & contrast

On white

6.60
#793DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#793DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793DB9
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793DB9#FFFFFF#000000##FFFFFF
##793DB91.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#6C5976
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #793db9;
/* rgb */ color: rgb(121, 61, 185);
/* oklch */ color: oklch(50.0% 0.187 302.2);
Tailwind
colors: {
  custom: {
    50: '#a577cf',
    500: '#793db9',
    950: '#000000',
  },
}
SCSS
$custom: #793db9;
$custom-light: #a577cf;
$custom-dark: #000000;
JSON
{
  "hex": "#793db9",
  "rgb": {
    "r": 121,
    "g": 61,
    "b": 185
  },
  "hsl": {
    "h": 269.032,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49961,
    "c": 0.18702,
    "h": 302.2
  },
  "luminance": 0.10905
}

Semantic roles & 50–950 ramp

primary
#793DB9
secondary
#AAC78B
accent
#DA4E96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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