#793CC3#793CC3

#793CC3 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.6% C 0.199 H 299.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#793CC3
RGBrgb(121, 60, 195)
HSLhsl(267, 53%, 50%)
HSVhsv(267, 69%, 76%)
CMYKcmyk(37.9%, 69.2%, 0%, 23.5%)
CIE-LABlab(39.98, 52.86, -60.59)
CIE-LCHlch(39.98, 80.40, 311.10°)
OKLaboklab(50.59% 0.0995 -0.1727)
OKLCHoklch(50.59% 0.199 299.9)
XYZxyz(19.3489, 11.2366, 52.7687)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CC3 #86C33C
analogous
#3C43C3 #793CC3 #BC3CC3
triadic
#793CC3 #C3793C #3CC379
tetradic
#793CC3 #C33C43 #86C33C #3CC3BC
square
#793CC3 #C33C43 #86C33C #3CC3BC
split-complementary
#793CC3 #C3BC3C #43C33C
monochromatic
#3F1F65 #5C2E94 #793CC3 #996BD1 #B99AE0

Accessibility & contrast

On white

6.47
#793CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#793CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CC3
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CC3#FFFFFF#000000##FFFFFF
##793CC31.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#685C7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #793cc3;
/* rgb */ color: rgb(121, 60, 195);
/* oklch */ color: oklch(50.6% 0.199 299.9);
Tailwind
colors: {
  custom: {
    50: '#a576d6',
    500: '#793cc3',
    950: '#000000',
  },
}
SCSS
$custom: #793cc3;
$custom-light: #a576d6;
$custom-dark: #000000;
JSON
{
  "hex": "#793cc3",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 195
  },
  "hsl": {
    "h": 267.111,
    "s": 52.941,
    "l": 50
  },
  "oklch": {
    "l": 0.5059,
    "c": 0.19934,
    "h": 299.9
  },
  "luminance": 0.11237
}

Semantic roles & 50–950 ramp

primary
#793CC3
secondary
#B0CC8F
accent
#DC4B9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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