#793BC4#793BC4

#793BC4 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.5% C 0.202 H 299.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#793BC4
RGBrgb(121, 59, 196)
HSLhsl(267, 54%, 50%)
HSVhsv(267, 70%, 77%)
CMYKcmyk(38.3%, 69.9%, 0%, 23.1%)
CIE-LABlab(39.88, 53.59, -61.33)
CIE-LCHlch(39.88, 81.44, 311.15°)
OKLaboklab(50.54% 0.1003 -0.1749)
OKLCHoklch(50.54% 0.202 299.8)
XYZxyz(19.4105, 11.1782, 53.3488)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BC4 #86C43B
analogous
#3B42C4 #793BC4 #BD3BC4
triadic
#793BC4 #C4793B #3BC479
tetradic
#793BC4 #C43B42 #86C43B #3BC4BD
square
#793BC4 #C43B42 #86C43B #3BC4BD
split-complementary
#793BC4 #C4BD3B #42C43B
monochromatic
#3F1F66 #5C2D95 #793BC4 #996AD2 #B999E0

Accessibility & contrast

On white

6.49
#793BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#793BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BC4
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BC4#FFFFFF#000000##FFFFFF
##793BC41.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #793bc4;
/* rgb */ color: rgb(121, 59, 196);
/* oklch */ color: oklch(50.5% 0.202 299.8);
Tailwind
colors: {
  custom: {
    50: '#a676d7',
    500: '#793bc4',
    950: '#000000',
  },
}
SCSS
$custom: #793bc4;
$custom-light: #a676d7;
$custom-dark: #000000;
JSON
{
  "hex": "#793bc4",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 267.153,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.50544,
    "c": 0.20165,
    "h": 299.8
  },
  "luminance": 0.11178
}

Semantic roles & 50–950 ramp

primary
#793BC4
secondary
#B0CC8F
accent
#DD4B9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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