#793EC0#793EC0

#793EC0 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.194 H 300.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#793EC0
RGBrgb(121, 62, 192)
HSLhsl(267, 51%, 50%)
HSVhsv(267, 68%, 75%)
CMYKcmyk(37%, 67.7%, 0%, 24.7%)
CIE-LABlab(40.11, 51.13, -58.62)
CIE-LCHlch(40.11, 77.78, 311.09°)
OKLaboklab(50.61% 0.0978 -0.167)
OKLCHoklch(50.61% 0.194 300.4)
XYZxyz(19.1199, 11.3158, 51.0358)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793EC0 #85C03E
analogous
#3E44C0 #793EC0 #BA3EC0
triadic
#793EC0 #C0793E #3EC079
tetradic
#793EC0 #C03E44 #85C03E #3EC0BA
square
#793EC0 #C03E44 #85C03E #3EC0BA
split-complementary
#793EC0 #C0BA3E #44C03E
monochromatic
#3F2063 #5C2F92 #793EC0 #996CCF #B99ADE

Accessibility & contrast

On white

6.44
#793EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#793EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793EC0
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793EC0#FFFFFF#000000##FFFFFF
##793EC01.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #793ec0;
/* rgb */ color: rgb(121, 62, 192);
/* oklch */ color: oklch(50.6% 0.194 300.4);
Tailwind
colors: {
  custom: {
    50: '#a577d4',
    500: '#793ec0',
    950: '#000000',
  },
}
SCSS
$custom: #793ec0;
$custom-light: #a577d4;
$custom-dark: #000000;
JSON
{
  "hex": "#793ec0",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 267.231,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50614,
    "c": 0.19352,
    "h": 300.4
  },
  "luminance": 0.11316
}

Semantic roles & 50–950 ramp

primary
#793EC0
secondary
#B0CA8F
accent
#DB4D9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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