#793AC9#793AC9

#793AC9 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.8% C 0.208 H 298.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#793AC9
RGBrgb(121, 58, 201)
HSLhsl(266, 57%, 51%)
HSVhsv(266, 71%, 79%)
CMYKcmyk(39.8%, 71.1%, 0%, 21.2%)
CIE-LABlab(40.09, 55.30, -63.89)
CIE-LCHlch(40.09, 84.50, 310.88°)
OKLaboklab(50.82% 0.1004 -0.1824)
OKLCHoklch(50.82% 0.208 298.8)
XYZxyz(19.9382, 11.3078, 56.3792)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793AC9 #8AC93A
analogous
#3A42C9 #793AC9 #C13AC9
triadic
#793AC9 #C9793A #3AC979
tetradic
#793AC9 #C93A42 #8AC93A #3AC9C1
square
#793AC9 #C93A42 #8AC93A #3AC9C1
split-complementary
#793AC9 #C9C13A #42C93A
monochromatic
#401D6B #5C2B9B #793AC9 #9A6AD6 #BA9AE3

Accessibility & contrast

On white

6.44
#793AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#793AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793AC9
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793AC9#FFFFFF#000000##FFFFFF
##793AC91.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#665D7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #793ac9;
/* rgb */ color: rgb(121, 58, 201);
/* oklch */ color: oklch(50.8% 0.208 298.8);
Tailwind
colors: {
  custom: {
    50: '#a675da',
    500: '#793ac9',
    950: '#000000',
  },
}
SCSS
$custom: #793ac9;
$custom-light: #a675da;
$custom-dark: #000000;
JSON
{
  "hex": "#793ac9",
  "rgb": {
    "r": 121,
    "g": 58,
    "b": 201
  },
  "hsl": {
    "h": 266.434,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50817,
    "c": 0.20825,
    "h": 298.8
  },
  "luminance": 0.11308
}

Semantic roles & 50–950 ramp

primary
#793AC9
secondary
#B3CF90
accent
#E0489D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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