#793AC6#793AC6

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

Color values

HEX#793AC6
RGBrgb(121, 58, 198)
HSLhsl(267, 55%, 50%)
HSVhsv(267, 71%, 78%)
CMYKcmyk(38.9%, 70.7%, 0%, 22.4%)
CIE-LABlab(39.86, 54.56, -62.52)
CIE-LCHlch(39.86, 82.98, 311.11°)
OKLaboklab(50.58% 0.101 -0.1784)
OKLCHoklch(50.58% 0.205 299.5)
XYZxyz(19.5887, 11.1681, 54.5388)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793AC6 #87C63A
analogous
#3A41C6 #793AC6 #BF3AC6
triadic
#793AC6 #C6793A #3AC679
tetradic
#793AC6 #C63A41 #87C63A #3AC6BF
square
#793AC6 #C63A41 #87C63A #3AC6BF
split-complementary
#793AC6 #C6BF3A #41C63A
monochromatic
#3F1E68 #5C2C97 #793AC6 #9969D4 #BA99E1

Accessibility & contrast

On white

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

On black

3.23
#793AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##793AC6#FFFFFF#000000##FFFFFF
##793AC61.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#675C7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #793ac6;
/* rgb */ color: rgb(121, 58, 198);
/* oklch */ color: oklch(50.6% 0.205 299.5);
Tailwind
colors: {
  custom: {
    50: '#a675d8',
    500: '#793ac6',
    950: '#000000',
  },
}
SCSS
$custom: #793ac6;
$custom-light: #a675d8;
$custom-dark: #000000;
JSON
{
  "hex": "#793ac6",
  "rgb": {
    "r": 121,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 267,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5058,
    "c": 0.20501,
    "h": 299.5
  },
  "luminance": 0.11168
}

Semantic roles & 50–950 ramp

primary
#793AC6
secondary
#B1CD8F
accent
#DE499B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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