#793CC0#793CC0

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

Color values

HEX#793CC0
RGBrgb(121, 60, 192)
HSLhsl(268, 52%, 49%)
HSVhsv(268, 69%, 75%)
CMYKcmyk(37%, 68.7%, 0%, 24.7%)
CIE-LABlab(39.75, 52.11, -59.20)
CIE-LCHlch(39.75, 78.87, 311.36°)
OKLaboklab(50.36% 0.0999 -0.1687)
OKLCHoklch(50.36% 0.196 300.6)
XYZxyz(19.0131, 11.1023, 51.0002)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CC0 #83C03C
analogous
#3C41C0 #793CC0 #BB3CC0
triadic
#793CC0 #C0793C #3CC079
tetradic
#793CC0 #C03C41 #83C03C #3CC0BB
square
#793CC0 #C03C41 #83C03C #3CC0BB
split-complementary
#793CC0 #C0BB3C #41C03C
monochromatic
#3E1F63 #5C2D91 #793CC0 #9969D0 #B998DF

Accessibility & contrast

On white

6.52
#793CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#793CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CC0
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CC0#FFFFFF#000000##FFFFFF
##793CC01.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#695B79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #793cc0;
/* rgb */ color: rgb(121, 60, 192);
/* oklch */ color: oklch(50.4% 0.196 300.6);
Tailwind
colors: {
  custom: {
    50: '#a576d4',
    500: '#793cc0',
    950: '#000000',
  },
}
SCSS
$custom: #793cc0;
$custom-light: #a576d4;
$custom-dark: #000000;
JSON
{
  "hex": "#793cc0",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 192
  },
  "hsl": {
    "h": 267.727,
    "s": 52.381,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5036,
    "c": 0.19605,
    "h": 300.6
  },
  "luminance": 0.11102
}

Semantic roles & 50–950 ramp

primary
#793CC0
secondary
#AECA8D
accent
#DC4C99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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