#793BB0#793BB0

#793BB0 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.0% C 0.180 H 305.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#793BB0
RGBrgb(121, 59, 176)
HSLhsl(272, 50%, 46%)
HSVhsv(272, 66%, 69%)
CMYKcmyk(31.3%, 66.5%, 0%, 31%)
CIE-LABlab(38.42, 48.69, -51.93)
CIE-LCHlch(38.42, 71.18, 313.16°)
OKLaboklab(49.04% 0.103 -0.1473)
OKLCHoklch(49.04% 0.18 305)
XYZxyz(17.2839, 10.3276, 42.1488)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BB0 #72B03B
analogous
#3E3BB0 #793BB0 #B03BAC
triadic
#793BB0 #B0793B #3BB079
tetradic
#793BB0 #B03E3B #72B03B #3BACB0
square
#793BB0 #B03E3B #72B03B #3BACB0
split-complementary
#793BB0 #ACB03B #3BB03E
monochromatic
#3A1C54 #592C82 #793BB0 #975FC9 #B58DD9

Accessibility & contrast

On white

6.85
#793BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#793BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BB0
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BB0#FFFFFF#000000##FFFFFF
##793BB01.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#185BAD
Tritanopia (blue-blind)
#6F5570
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #793bb0;
/* rgb */ color: rgb(121, 59, 176);
/* oklch */ color: oklch(49.0% 0.180 305.0);
Tailwind
colors: {
  custom: {
    50: '#a475c8',
    500: '#793bb0',
    950: '#000000',
  },
}
SCSS
$custom: #793bb0;
$custom-light: #a475c8;
$custom-dark: #000000;
JSON
{
  "hex": "#793bb0",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 176
  },
  "hsl": {
    "h": 271.795,
    "s": 49.787,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49044,
    "c": 0.17972,
    "h": 305
  },
  "luminance": 0.10327
}

Semantic roles & 50–950 ramp

primary
#793BB0
secondary
#A1C383
accent
#D94E90
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #793BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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