#793DC9#793DC9

#793DC9 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.205 H 298.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#793DC9
RGBrgb(121, 61, 201)
HSLhsl(266, 56%, 51%)
HSVhsv(266, 70%, 79%)
CMYKcmyk(39.8%, 69.7%, 0%, 21.2%)
CIE-LABlab(40.60, 53.87, -63.06)
CIE-LCHlch(40.60, 82.94, 310.51°)
OKLaboklab(51.18% 0.0975 -0.18)
OKLCHoklch(51.18% 0.205 298.4)
XYZxyz(20.0938, 11.6192, 56.4311)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793DC9 #8DC93D
analogous
#3D47C9 #793DC9 #BF3DC9
triadic
#793DC9 #C9793D #3DC979
tetradic
#793DC9 #C93D47 #8DC93D #3DC9BF
square
#793DC9 #C93D47 #8DC93D #3DC9BF
split-complementary
#793DC9 #C9BF3D #47C93D
monochromatic
#401E6D #5C2C9D #793DC9 #9A6DD6 #BB9DE4

Accessibility & contrast

On white

6.32
#793DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#793DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793DC9
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793DC9#FFFFFF#000000##FFFFFF
##793DC91.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#665F7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #793dc9;
/* rgb */ color: rgb(121, 61, 201);
/* oklch */ color: oklch(51.2% 0.205 298.4);
Tailwind
colors: {
  custom: {
    50: '#a677da',
    500: '#793dc9',
    950: '#000000',
  },
}
SCSS
$custom: #793dc9;
$custom-light: #a677da;
$custom-dark: #000000;
JSON
{
  "hex": "#793dc9",
  "rgb": {
    "r": 121,
    "g": 61,
    "b": 201
  },
  "hsl": {
    "h": 265.714,
    "s": 56.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5118,
    "c": 0.20472,
    "h": 298.4
  },
  "luminance": 0.11619
}

Semantic roles & 50–950 ramp

primary
#793DC9
secondary
#B5D092
accent
#E0489F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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