#793AC4#793AC4

#793AC4 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.4% C 0.203 H 300.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#793AC4
RGBrgb(121, 58, 196)
HSLhsl(267, 54%, 50%)
HSVhsv(267, 70%, 77%)
CMYKcmyk(38.3%, 70.4%, 0%, 23.1%)
CIE-LABlab(39.71, 54.06, -61.60)
CIE-LCHlch(39.71, 81.96, 311.27°)
OKLaboklab(50.42% 0.1013 -0.1757)
OKLCHoklch(50.42% 0.203 300)
XYZxyz(19.3595, 11.0764, 53.3319)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793AC4 #85C43A
analogous
#3A40C4 #793AC4 #BE3AC4
triadic
#793AC4 #C4793A #3AC479
tetradic
#793AC4 #C43A40 #85C43A #3AC4BE
square
#793AC4 #C43A40 #85C43A #3AC4BE
split-complementary
#793AC4 #C4BE3A #40C43A
monochromatic
#3F1E66 #5C2C95 #793AC4 #9969D3 #B998E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##793AC4#FFFFFF#000000##FFFFFF
##793AC41.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)
#005DC8
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#685C7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #793ac4;
/* rgb */ color: rgb(121, 58, 196);
/* oklch */ color: oklch(50.4% 0.203 300.0);
Tailwind
colors: {
  custom: {
    50: '#a675d7',
    500: '#793ac4',
    950: '#000000',
  },
}
SCSS
$custom: #793ac4;
$custom-light: #a675d7;
$custom-dark: #000000;
JSON
{
  "hex": "#793ac4",
  "rgb": {
    "r": 121,
    "g": 58,
    "b": 196
  },
  "hsl": {
    "h": 267.391,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50423,
    "c": 0.20284,
    "h": 300
  },
  "luminance": 0.11077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #793AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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