#793BC3#793BC3

#793BC3 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.5% C 0.201 H 300.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#793BC3
RGBrgb(121, 59, 195)
HSLhsl(267, 54%, 50%)
HSVhsv(267, 70%, 76%)
CMYKcmyk(37.9%, 69.7%, 0%, 23.5%)
CIE-LABlab(39.80, 53.34, -60.87)
CIE-LCHlch(39.80, 80.93, 311.23°)
OKLaboklab(50.47% 0.1005 -0.1736)
OKLCHoklch(50.47% 0.201 300.1)
XYZxyz(19.2970, 11.1328, 52.7514)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BC3 #85C33B
analogous
#3B41C3 #793BC3 #BD3BC3
triadic
#793BC3 #C3793B #3BC379
tetradic
#793BC3 #C33B41 #85C33B #3BC3BD
square
#793BC3 #C33B41 #85C33B #3BC3BD
split-complementary
#793BC3 #C3BD3B #41C33B
monochromatic
#3F1F65 #5C2D94 #793BC3 #9969D2 #B998E0

Accessibility & contrast

On white

6.51
#793BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#793BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BC3
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BC3#FFFFFF#000000##FFFFFF
##793BC31.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#685C7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #793bc3;
/* rgb */ color: rgb(121, 59, 195);
/* oklch */ color: oklch(50.5% 0.201 300.1);
Tailwind
colors: {
  custom: {
    50: '#a676d6',
    500: '#793bc3',
    950: '#000000',
  },
}
SCSS
$custom: #793bc3;
$custom-light: #a676d6;
$custom-dark: #000000;
JSON
{
  "hex": "#793bc3",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 195
  },
  "hsl": {
    "h": 267.353,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50467,
    "c": 0.20056,
    "h": 300.1
  },
  "luminance": 0.11133
}

Semantic roles & 50–950 ramp

primary
#793BC3
secondary
#B0CC8E
accent
#DD4B9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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