#793AC3#793AC3

#793AC3 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.3% C 0.202 H 300.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#793AC3
RGBrgb(121, 58, 195)
HSLhsl(268, 54%, 50%)
HSVhsv(268, 70%, 76%)
CMYKcmyk(37.9%, 70.3%, 0%, 23.5%)
CIE-LABlab(39.63, 53.81, -61.14)
CIE-LCHlch(39.63, 81.45, 311.35°)
OKLaboklab(50.35% 0.1015 -0.1744)
OKLCHoklch(50.35% 0.202 300.2)
XYZxyz(19.2461, 11.0310, 52.7344)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793AC3 #84C33A
analogous
#3A40C3 #793AC3 #BD3AC3
triadic
#793AC3 #C3793A #3AC379
tetradic
#793AC3 #C33A40 #84C33A #3AC3BD
square
#793AC3 #C33A40 #84C33A #3AC3BD
split-complementary
#793AC3 #C3BD3A #40C33A
monochromatic
#3E1E65 #5C2C94 #793AC3 #9968D2 #B997E0

Accessibility & contrast

On white

6.55
#793AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #793AC3
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793AC3#FFFFFF#000000##FFFFFF
##793AC31.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#685B7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #793ac3;
/* rgb */ color: rgb(121, 58, 195);
/* oklch */ color: oklch(50.3% 0.202 300.2);
Tailwind
colors: {
  custom: {
    50: '#a675d6',
    500: '#793ac3',
    950: '#000000',
  },
}
SCSS
$custom: #793ac3;
$custom-light: #a675d6;
$custom-dark: #000000;
JSON
{
  "hex": "#793ac3",
  "rgb": {
    "r": 121,
    "g": 58,
    "b": 195
  },
  "hsl": {
    "h": 267.591,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50345,
    "c": 0.20176,
    "h": 300.2
  },
  "luminance": 0.11031
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #793AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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