#793BC0#793BC0

#793BC0 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.2% C 0.197 H 300.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#793BC0
RGBrgb(121, 59, 192)
HSLhsl(268, 53%, 49%)
HSVhsv(268, 69%, 75%)
CMYKcmyk(37%, 69.3%, 0%, 24.7%)
CIE-LABlab(39.58, 52.59, -59.48)
CIE-LCHlch(39.58, 79.40, 311.48°)
OKLaboklab(50.24% 0.101 -0.1695)
OKLCHoklch(50.24% 0.197 300.8)
XYZxyz(18.9612, 10.9985, 50.9829)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BC0 #82C03B
analogous
#3B40C0 #793BC0 #BC3BC0
triadic
#793BC0 #C0793B #3BC079
tetradic
#793BC0 #C03B40 #82C03B #3BC0BC
square
#793BC0 #C03B40 #82C03B #3BC0BC
split-complementary
#793BC0 #C0BC3B #40C03B
monochromatic
#3E1E62 #5B2D91 #793BC0 #9968D1 #B897DF

Accessibility & contrast

On white

6.56
#793BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#793BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BC0
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BC0#FFFFFF#000000##FFFFFF
##793BC01.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#695B79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #793bc0;
/* rgb */ color: rgb(121, 59, 192);
/* oklch */ color: oklch(50.2% 0.197 300.8);
Tailwind
colors: {
  custom: {
    50: '#a576d4',
    500: '#793bc0',
    950: '#000000',
  },
}
SCSS
$custom: #793bc0;
$custom-light: #a576d4;
$custom-dark: #000000;
JSON
{
  "hex": "#793bc0",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 192
  },
  "hsl": {
    "h": 267.97,
    "s": 52.988,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50235,
    "c": 0.19729,
    "h": 300.8
  },
  "luminance": 0.10999
}

Semantic roles & 50–950 ramp

primary
#793BC0
secondary
#ADCA8C
accent
#DC4B99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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