#793FD9#793FD9

#793FD9 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.220 H 294.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#793FD9
RGBrgb(121, 63, 217)
HSLhsl(263, 67%, 55%)
HSVhsv(263, 71%, 85%)
CMYKcmyk(44.2%, 71%, 0%, 14.9%)
CIE-LABlab(42.20, 56.99, -69.69)
CIE-LCHlch(42.20, 90.02, 309.28°)
OKLaboklab(52.7% 0.0926 -0.1995)
OKLCHoklch(52.7% 0.22 294.9)
XYZxyz(22.1837, 12.6291, 66.9010)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FD9 #9FD93F
analogous
#3F52D9 #793FD9 #C63FD9
triadic
#793FD9 #D9793F #3FD979
tetradic
#793FD9 #D93F52 #9FD93F #3FD9C6
square
#793FD9 #D93F52 #9FD93F #3FD9C6
split-complementary
#793FD9 #D9C63F #52D93F
monochromatic
#421A84 #5B24B7 #793FD9 #9D72E3 #C0A5ED

Accessibility & contrast

On white

5.96
#793FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#793FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793FD9
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FD9#FFFFFF#000000##FFFFFF
##793FD91.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DE
Deuteranopia (green-blind)
#0061D6
Tritanopia (blue-blind)
#5E6688
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #793fd9;
/* rgb */ color: rgb(121, 63, 217);
/* oklch */ color: oklch(52.7% 0.220 294.9);
Tailwind
colors: {
  custom: {
    50: '#a879e6',
    500: '#793fd9',
    950: '#000000',
  },
}
SCSS
$custom: #793fd9;
$custom-light: #a879e6;
$custom-dark: #000000;
JSON
{
  "hex": "#793fd9",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 217
  },
  "hsl": {
    "h": 262.597,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52703,
    "c": 0.21996,
    "h": 294.9
  },
  "luminance": 0.1263
}

Semantic roles & 50–950 ramp

primary
#793FD9
secondary
#C2DA9A
accent
#EA3EA9
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #793FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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