#793BC1#793BC1

#793BC1 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.3% C 0.198 H 300.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#793BC1
RGBrgb(121, 59, 193)
HSLhsl(268, 53%, 49%)
HSVhsv(268, 69%, 76%)
CMYKcmyk(37.3%, 69.4%, 0%, 24.3%)
CIE-LABlab(39.65, 52.84, -59.94)
CIE-LCHlch(39.65, 79.91, 311.40°)
OKLaboklab(50.31% 0.1008 -0.1709)
OKLCHoklch(50.31% 0.198 300.5)
XYZxyz(19.0724, 11.0430, 51.5684)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BC1 #83C13B
analogous
#3B40C1 #793BC1 #BC3BC1
triadic
#793BC1 #C1793B #3BC179
tetradic
#793BC1 #C13B40 #83C13B #3BC1BC
square
#793BC1 #C13B40 #83C13B #3BC1BC
split-complementary
#793BC1 #C1BC3B #40C13B
monochromatic
#3E1E63 #5C2D92 #793BC1 #9968D1 #B997DF

Accessibility & contrast

On white

6.54
#793BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#793BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BC1
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BC1#FFFFFF#000000##FFFFFF
##793BC11.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#695B7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #793bc1;
/* rgb */ color: rgb(121, 59, 193);
/* oklch */ color: oklch(50.3% 0.198 300.5);
Tailwind
colors: {
  custom: {
    50: '#a576d5',
    500: '#793bc1',
    950: '#000000',
  },
}
SCSS
$custom: #793bc1;
$custom-light: #a576d5;
$custom-dark: #000000;
JSON
{
  "hex": "#793bc1",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 193
  },
  "hsl": {
    "h": 267.761,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50312,
    "c": 0.19838,
    "h": 300.5
  },
  "luminance": 0.11043
}

Semantic roles & 50–950 ramp

primary
#793BC1
secondary
#AECB8D
accent
#DD4B99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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