#793FC7#793FC7

#793FC7 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.200 H 298.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#793FC7
RGBrgb(121, 63, 199)
HSLhsl(266, 55%, 51%)
HSVhsv(266, 68%, 78%)
CMYKcmyk(39.2%, 68.3%, 0%, 22%)
CIE-LABlab(40.80, 52.39, -61.57)
CIE-LCHlch(40.80, 80.84, 310.40°)
OKLaboklab(51.28% 0.0958 -0.1756)
OKLCHoklch(51.28% 0.2 298.6)
XYZxyz(19.9689, 11.7432, 55.2364)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FC7 #8DC73F
analogous
#3F49C7 #793FC7 #BD3FC7
triadic
#793FC7 #C7793F #3FC779
tetradic
#793FC7 #C73F49 #8DC73F #3FC7BD
square
#793FC7 #C73F49 #8DC73F #3FC7BD
split-complementary
#793FC7 #C7BD3F #49C73F
monochromatic
#40206C #5C2D9B #793FC7 #9A6ED5 #BB9EE3

Accessibility & contrast

On white

6.27
#793FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#793FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793FC7
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FC7#FFFFFF#000000##FFFFFF
##793FC71.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#665F7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #793fc7;
/* rgb */ color: rgb(121, 63, 199);
/* oklch */ color: oklch(51.3% 0.200 298.6);
Tailwind
colors: {
  custom: {
    50: '#a678d9',
    500: '#793fc7',
    950: '#000000',
  },
}
SCSS
$custom: #793fc7;
$custom-light: #a678d9;
$custom-dark: #000000;
JSON
{
  "hex": "#793fc7",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 265.588,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51276,
    "c": 0.20007,
    "h": 298.6
  },
  "luminance": 0.11743
}

Semantic roles & 50–950 ramp

primary
#793FC7
secondary
#B5CF93
accent
#DE4A9F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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