#793FB8#793FB8

#793FB8 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.183 H 302.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#793FB8
RGBrgb(121, 63, 184)
HSLhsl(269, 49%, 48%)
HSVhsv(269, 66%, 72%)
CMYKcmyk(34.2%, 65.8%, 0%, 27.8%)
CIE-LABlab(39.72, 48.63, -54.56)
CIE-LCHlch(39.72, 73.09, 311.71°)
OKLaboklab(50.15% 0.0977 -0.1551)
OKLCHoklch(50.15% 0.183 302.2)
XYZxyz(18.3124, 11.0806, 46.5121)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FB8 #7EB83F
analogous
#3F41B8 #793FB8 #B53FB8
triadic
#793FB8 #B8793F #3FB879
tetradic
#793FB8 #B83F41 #7EB83F #3FB8B5
square
#793FB8 #B83F41 #7EB83F #3FB8B5
split-complementary
#793FB8 #B8B53F #41B83F
monochromatic
#3D205D #5B2F8A #793FB8 #9869CC #B796DB

Accessibility & contrast

On white

6.53
#793FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#793FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793FB8
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FB8#FFFFFF#000000##FFFFFF
##793FB81.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#0C5DB5
Tritanopia (blue-blind)
#6C5A76
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #793fb8;
/* rgb */ color: rgb(121, 63, 184);
/* oklch */ color: oklch(50.2% 0.183 302.2);
Tailwind
colors: {
  custom: {
    50: '#a478ce',
    500: '#793fb8',
    950: '#000000',
  },
}
SCSS
$custom: #793fb8;
$custom-light: #a478ce;
$custom-dark: #000000;
JSON
{
  "hex": "#793fb8",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 268.76,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50151,
    "c": 0.18325,
    "h": 302.2
  },
  "luminance": 0.11081
}

Semantic roles & 50–950 ramp

primary
#793FB8
secondary
#ABC78C
accent
#D94F97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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