#793BC2#793BC2

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

Color values

HEX#793BC2
RGBrgb(121, 59, 194)
HSLhsl(268, 53%, 50%)
HSVhsv(268, 70%, 76%)
CMYKcmyk(37.6%, 69.6%, 0%, 23.9%)
CIE-LABlab(39.73, 53.09, -60.41)
CIE-LCHlch(39.73, 80.42, 311.31°)
OKLaboklab(50.39% 0.1007 -0.1722)
OKLCHoklch(50.39% 0.199 300.3)
XYZxyz(19.1843, 11.0878, 52.1579)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BC2 #84C23B
analogous
#3B40C2 #793BC2 #BD3BC2
triadic
#793BC2 #C2793B #3BC279
tetradic
#793BC2 #C23B40 #84C23B #3BC2BD
square
#793BC2 #C23B40 #84C23B #3BC2BD
split-complementary
#793BC2 #C2BD3B #40C23B
monochromatic
#3E1E64 #5C2D93 #793BC2 #9969D1 #B998E0

Accessibility & contrast

On white

6.53
#793BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #793BC2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BC2#FFFFFF#000000##FFFFFF
##793BC21.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#695B7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #793bc2;
/* rgb */ color: rgb(121, 59, 194);
/* oklch */ color: oklch(50.4% 0.199 300.3);
Tailwind
colors: {
  custom: {
    50: '#a576d5',
    500: '#793bc2',
    950: '#000000',
  },
}
SCSS
$custom: #793bc2;
$custom-light: #a576d5;
$custom-dark: #000000;
JSON
{
  "hex": "#793bc2",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 267.556,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50389,
    "c": 0.19947,
    "h": 300.3
  },
  "luminance": 0.11088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #793BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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