#793AC2#793AC2

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

Color values

HEX#793AC2
RGBrgb(121, 58, 194)
HSLhsl(268, 54%, 49%)
HSVhsv(268, 70%, 76%)
CMYKcmyk(37.6%, 70.1%, 0%, 23.9%)
CIE-LABlab(39.56, 53.57, -60.68)
CIE-LCHlch(39.56, 80.94, 311.44°)
OKLaboklab(50.27% 0.1017 -0.173)
OKLCHoklch(50.27% 0.201 300.4)
XYZxyz(19.1334, 10.9859, 52.1409)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793AC2 #83C23A
analogous
#3A3FC2 #793AC2 #BD3AC2
triadic
#793AC2 #C2793A #3AC279
tetradic
#793AC2 #C23A3F #83C23A #3AC2BD
square
#793AC2 #C23A3F #83C23A #3AC2BD
split-complementary
#793AC2 #C2BD3A #3FC23A
monochromatic
#3E1E64 #5C2C93 #793AC2 #9967D2 #B997E0

Accessibility & contrast

On white

6.57
#793AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #793AC2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793AC2#FFFFFF#000000##FFFFFF
##793AC21.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#695B7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #793ac2;
/* rgb */ color: rgb(121, 58, 194);
/* oklch */ color: oklch(50.3% 0.201 300.4);
Tailwind
colors: {
  custom: {
    50: '#a675d5',
    500: '#793ac2',
    950: '#000000',
  },
}
SCSS
$custom: #793ac2;
$custom-light: #a675d5;
$custom-dark: #000000;
JSON
{
  "hex": "#793ac2",
  "rgb": {
    "r": 121,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 267.794,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50267,
    "c": 0.20068,
    "h": 300.4
  },
  "luminance": 0.10986
}

Semantic roles & 50–950 ramp

primary
#793AC2
secondary
#AECB8D
accent
#DD4A99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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