#793FC0#793FC0

#793FC0 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.192 H 300.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#793FC0
RGBrgb(121, 63, 192)
HSLhsl(267, 51%, 50%)
HSVhsv(267, 67%, 75%)
CMYKcmyk(37%, 67.2%, 0%, 24.7%)
CIE-LABlab(40.29, 50.63, -58.33)
CIE-LCHlch(40.29, 77.23, 310.96°)
OKLaboklab(50.74% 0.0968 -0.1661)
OKLCHoklch(50.74% 0.192 300.2)
XYZxyz(19.1748, 11.4256, 51.0541)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FC0 #86C03F
analogous
#3F45C0 #793FC0 #BA3FC0
triadic
#793FC0 #C0793F #3FC079
tetradic
#793FC0 #C03F45 #86C03F #3FC0BA
square
#793FC0 #C03F45 #86C03F #3FC0BA
split-complementary
#793FC0 #C0BA3F #45C03F
monochromatic
#3F2164 #5C3092 #793FC0 #996DCF #B99BDE

Accessibility & contrast

On white

6.39
#793FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#793FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793FC0
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FC0#FFFFFF#000000##FFFFFF
##793FC01.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#695D7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #793fc0;
/* rgb */ color: rgb(121, 63, 192);
/* oklch */ color: oklch(50.7% 0.192 300.2);
Tailwind
colors: {
  custom: {
    50: '#a578d4',
    500: '#793fc0',
    950: '#000000',
  },
}
SCSS
$custom: #793fc0;
$custom-light: #a578d4;
$custom-dark: #000000;
JSON
{
  "hex": "#793fc0",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 192
  },
  "hsl": {
    "h": 266.977,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.50743,
    "c": 0.19224,
    "h": 300.2
  },
  "luminance": 0.11426
}

Semantic roles & 50–950 ramp

primary
#793FC0
secondary
#B0CA91
accent
#DA4E9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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