#793CB0#793CB0

#793CB0 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.2% C 0.178 H 304.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#793CB0
RGBrgb(121, 60, 176)
HSLhsl(272, 49%, 46%)
HSVhsv(272, 66%, 69%)
CMYKcmyk(31.3%, 65.9%, 0%, 31%)
CIE-LABlab(38.61, 48.19, -51.63)
CIE-LCHlch(38.61, 70.62, 313.02°)
OKLaboklab(49.18% 0.1019 -0.1464)
OKLCHoklch(49.18% 0.178 304.8)
XYZxyz(17.3357, 10.4313, 42.1660)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CB0 #73B03C
analogous
#3F3CB0 #793CB0 #B03CAD
triadic
#793CB0 #B0793C #3CB079
tetradic
#793CB0 #B03F3C #73B03C #3CADB0
square
#793CB0 #B03F3C #73B03C #3CADB0
split-complementary
#793CB0 #ADB03C #3CB03F
monochromatic
#3A1D55 #5A2C82 #793CB0 #9760C9 #B58ED8

Accessibility & contrast

On white

6.80
#793CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#793CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CB0
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CB0#FFFFFF#000000##FFFFFF
##793CB01.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#1A5BAD
Tritanopia (blue-blind)
#6F5571
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #793cb0;
/* rgb */ color: rgb(121, 60, 176);
/* oklch */ color: oklch(49.2% 0.178 304.8);
Tailwind
colors: {
  custom: {
    50: '#a476c8',
    500: '#793cb0',
    950: '#000000',
  },
}
SCSS
$custom: #793cb0;
$custom-light: #a476c8;
$custom-dark: #000000;
JSON
{
  "hex": "#793cb0",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 176
  },
  "hsl": {
    "h": 271.552,
    "s": 49.153,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49175,
    "c": 0.17837,
    "h": 304.8
  },
  "luminance": 0.10431
}

Semantic roles & 50–950 ramp

primary
#793CB0
secondary
#A2C385
accent
#D94F90
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #793CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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