#793EB7#793EB7

#793EB7 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.9% C 0.183 H 302.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#793EB7
RGBrgb(121, 62, 183)
HSLhsl(269, 49%, 48%)
HSVhsv(269, 66%, 72%)
CMYKcmyk(33.9%, 66.1%, 0%, 28.2%)
CIE-LABlab(39.46, 48.89, -54.39)
CIE-LCHlch(39.46, 73.13, 311.95°)
OKLaboklab(49.95% 0.0989 -0.1545)
OKLCHoklch(49.95% 0.183 302.6)
XYZxyz(18.1530, 10.9291, 45.9437)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793EB7 #7CB73E
analogous
#3E3FB7 #793EB7 #B53EB7
triadic
#793EB7 #B7793E #3EB779
tetradic
#793EB7 #B73E3F #7CB73E #3EB7B5
square
#793EB7 #B73E3F #7CB73E #3EB7B5
split-complementary
#793EB7 #B7B53E #3FB73E
monochromatic
#3D1F5C #5B2F89 #793EB7 #9867CB #B794DB

Accessibility & contrast

On white

6.59
#793EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#793EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793EB7
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793EB7#FFFFFF#000000##FFFFFF
##793EB71.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#0C5DB4
Tritanopia (blue-blind)
#6D5975
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #793eb7;
/* rgb */ color: rgb(121, 62, 183);
/* oklch */ color: oklch(49.9% 0.183 302.6);
Tailwind
colors: {
  custom: {
    50: '#a477cd',
    500: '#793eb7',
    950: '#000000',
  },
}
SCSS
$custom: #793eb7;
$custom-light: #a477cd;
$custom-dark: #000000;
JSON
{
  "hex": "#793eb7",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 269.256,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49945,
    "c": 0.18346,
    "h": 302.6
  },
  "luminance": 0.10929
}

Semantic roles & 50–950 ramp

primary
#793EB7
secondary
#A9C68A
accent
#D94F96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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