#793CC1#793CC1

#793CC1 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.197 H 300.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#793CC1
RGBrgb(121, 60, 193)
HSLhsl(268, 53%, 50%)
HSVhsv(268, 69%, 76%)
CMYKcmyk(37.3%, 68.9%, 0%, 24.3%)
CIE-LABlab(39.83, 52.36, -59.66)
CIE-LCHlch(39.83, 79.38, 311.27°)
OKLaboklab(50.44% 0.0998 -0.17)
OKLCHoklch(50.44% 0.197 300.4)
XYZxyz(19.1243, 11.1468, 51.5857)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CC1 #84C13C
analogous
#3C41C1 #793CC1 #BC3CC1
triadic
#793CC1 #C1793C #3CC179
tetradic
#793CC1 #C13C41 #84C13C #3CC1BC
square
#793CC1 #C13C41 #84C13C #3CC1BC
split-complementary
#793CC1 #C1BC3C #41C13C
monochromatic
#3E1F64 #5C2D92 #793CC1 #996AD1 #B998DF

Accessibility & contrast

On white

6.50
#793CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#793CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CC1
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CC1#FFFFFF#000000##FFFFFF
##793CC11.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#695B7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #793cc1;
/* rgb */ color: rgb(121, 60, 193);
/* oklch */ color: oklch(50.4% 0.197 300.4);
Tailwind
colors: {
  custom: {
    50: '#a576d5',
    500: '#793cc1',
    950: '#000000',
  },
}
SCSS
$custom: #793cc1;
$custom-light: #a576d5;
$custom-dark: #000000;
JSON
{
  "hex": "#793cc1",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 193
  },
  "hsl": {
    "h": 267.519,
    "s": 52.569,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50436,
    "c": 0.19715,
    "h": 300.4
  },
  "luminance": 0.11147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #793CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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