#793ED7#793ED7

#793ED7 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.4% C 0.219 H 295.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#793ED7
RGBrgb(121, 62, 215)
HSLhsl(263, 66%, 54%)
HSVhsv(263, 71%, 84%)
CMYKcmyk(43.7%, 71.2%, 0%, 15.7%)
CIE-LABlab(41.87, 56.95, -69.08)
CIE-LCHlch(41.87, 89.53, 309.50°)
OKLaboklab(52.42% 0.094 -0.1977)
OKLCHoklch(52.42% 0.219 295.4)
XYZxyz(21.8702, 12.4160, 65.5210)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793ED7 #9CD73E
analogous
#3E50D7 #793ED7 #C53ED7
triadic
#793ED7 #D7793E #3ED779
tetradic
#793ED7 #D73E50 #9CD73E #3ED7C5
square
#793ED7 #D73E50 #9CD73E #3ED7C5
split-complementary
#793ED7 #D7C53E #50D73E
monochromatic
#421B80 #5C25B3 #793ED7 #9C71E2 #BFA3EC

Accessibility & contrast

On white

6.03
#793ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#793ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793ED7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793ED7#FFFFFF#000000##FFFFFF
##793ED71.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#5F6587
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #793ed7;
/* rgb */ color: rgb(121, 62, 215);
/* oklch */ color: oklch(52.4% 0.219 295.4);
Tailwind
colors: {
  custom: {
    50: '#a778e4',
    500: '#793ed7',
    950: '#000000',
  },
}
SCSS
$custom: #793ed7;
$custom-light: #a778e4;
$custom-dark: #000000;
JSON
{
  "hex": "#793ed7",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 215
  },
  "hsl": {
    "h": 263.137,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5242,
    "c": 0.2189,
    "h": 295.4
  },
  "luminance": 0.12416
}

Semantic roles & 50–950 ramp

primary
#793ED7
secondary
#C0D998
accent
#E93FA7
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #793ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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