#793FC3#793FC3

#793FC3 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.196 H 299.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#793FC3
RGBrgb(121, 63, 195)
HSLhsl(266, 52%, 51%)
HSVhsv(266, 68%, 76%)
CMYKcmyk(37.9%, 67.7%, 0%, 23.5%)
CIE-LABlab(40.51, 51.38, -59.72)
CIE-LCHlch(40.51, 78.78, 310.71°)
OKLaboklab(50.97% 0.0964 -0.1702)
OKLCHoklch(50.97% 0.196 299.5)
XYZxyz(19.5105, 11.5599, 52.8225)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FC3 #89C33F
analogous
#3F47C3 #793FC3 #BB3FC3
triadic
#793FC3 #C3793F #3FC379
tetradic
#793FC3 #C33F47 #89C33F #3FC3BB
square
#793FC3 #C33F47 #89C33F #3FC3BB
split-complementary
#793FC3 #C3BB3F #47C33F
monochromatic
#3F2067 #5C2F96 #793FC3 #9A6ED2 #BA9CE0

Accessibility & contrast

On white

6.34
#793FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#793FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793FC3
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FC3#FFFFFF#000000##FFFFFF
##793FC31.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#685E7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #793fc3;
/* rgb */ color: rgb(121, 63, 195);
/* oklch */ color: oklch(51.0% 0.196 299.5);
Tailwind
colors: {
  custom: {
    50: '#a578d6',
    500: '#793fc3',
    950: '#000000',
  },
}
SCSS
$custom: #793fc3;
$custom-light: #a578d6;
$custom-dark: #000000;
JSON
{
  "hex": "#793fc3",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 195
  },
  "hsl": {
    "h": 266.364,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5097,
    "c": 0.19561,
    "h": 299.5
  },
  "luminance": 0.1156
}

Semantic roles & 50–950 ramp

primary
#793FC3
secondary
#B2CC92
accent
#DC4C9D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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