#793FB7#793FB7

#793FB7 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.1% C 0.182 H 302.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#793FB7
RGBrgb(121, 63, 183)
HSLhsl(269, 49%, 48%)
HSVhsv(269, 66%, 72%)
CMYKcmyk(33.9%, 65.6%, 0%, 28.2%)
CIE-LABlab(39.65, 48.38, -54.09)
CIE-LCHlch(39.65, 72.57, 311.81°)
OKLaboklab(50.08% 0.0978 -0.1537)
OKLCHoklch(50.08% 0.182 302.5)
XYZxyz(18.2079, 11.0388, 45.9620)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FB7 #7DB73F
analogous
#3F41B7 #793FB7 #B53FB7
triadic
#793FB7 #B7793F #3FB779
tetradic
#793FB7 #B73F41 #7DB73F #3FB7B5
square
#793FB7 #B73F41 #7DB73F #3FB7B5
split-complementary
#793FB7 #B7B53F #41B73F
monochromatic
#3D205C #5B2F89 #793FB7 #9868CB #B796DB

Accessibility & contrast

On white

6.55
#793FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#793FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793FB7
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FB7#FFFFFF#000000##FFFFFF
##793FB71.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#105DB4
Tritanopia (blue-blind)
#6D5A75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #793fb7;
/* rgb */ color: rgb(121, 63, 183);
/* oklch */ color: oklch(50.1% 0.182 302.5);
Tailwind
colors: {
  custom: {
    50: '#a478cd',
    500: '#793fb7',
    950: '#000000',
  },
}
SCSS
$custom: #793fb7;
$custom-light: #a478cd;
$custom-dark: #000000;
JSON
{
  "hex": "#793fb7",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 269,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50078,
    "c": 0.18212,
    "h": 302.5
  },
  "luminance": 0.11039
}

Semantic roles & 50–950 ramp

primary
#793FB7
secondary
#AAC68B
accent
#D84F96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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