#793CC2#793CC2

#793CC2 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.198 H 300.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#793CC2
RGBrgb(121, 60, 194)
HSLhsl(267, 53%, 50%)
HSVhsv(267, 69%, 76%)
CMYKcmyk(37.6%, 69.1%, 0%, 23.9%)
CIE-LABlab(39.90, 52.61, -60.12)
CIE-LCHlch(39.90, 79.89, 311.18°)
OKLaboklab(50.51% 0.0996 -0.1714)
OKLCHoklch(50.51% 0.198 300.2)
XYZxyz(19.2362, 11.1915, 52.1752)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CC2 #85C23C
analogous
#3C42C2 #793CC2 #BC3CC2
triadic
#793CC2 #C2793C #3CC279
tetradic
#793CC2 #C23C42 #85C23C #3CC2BC
square
#793CC2 #C23C42 #85C23C #3CC2BC
split-complementary
#793CC2 #C2BC3C #42C23C
monochromatic
#3F1F65 #5C2E93 #793CC2 #996AD1 #B999DF

Accessibility & contrast

On white

6.48
#793CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#793CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CC2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CC2#FFFFFF#000000##FFFFFF
##793CC21.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#695C7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #793cc2;
/* rgb */ color: rgb(121, 60, 194);
/* oklch */ color: oklch(50.5% 0.198 300.2);
Tailwind
colors: {
  custom: {
    50: '#a576d5',
    500: '#793cc2',
    950: '#000000',
  },
}
SCSS
$custom: #793cc2;
$custom-light: #a576d5;
$custom-dark: #000000;
JSON
{
  "hex": "#793cc2",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 194
  },
  "hsl": {
    "h": 267.313,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50513,
    "c": 0.19824,
    "h": 300.2
  },
  "luminance": 0.11192
}

Semantic roles & 50–950 ramp

primary
#793CC2
secondary
#B0CB8F
accent
#DC4C9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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