#793FBE#793FBE

#793FBE is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.190 H 300.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#793FBE
RGBrgb(121, 63, 190)
HSLhsl(267, 50%, 50%)
HSVhsv(267, 67%, 75%)
CMYKcmyk(36.3%, 66.8%, 0%, 25.5%)
CIE-LABlab(40.14, 50.12, -57.39)
CIE-LCHlch(40.14, 76.20, 311.13°)
OKLaboklab(50.59% 0.097 -0.1634)
OKLCHoklch(50.59% 0.19 300.7)
XYZxyz(18.9547, 11.3375, 49.8950)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FBE #84BE3F
analogous
#3F44BE #793FBE #B93FBE
triadic
#793FBE #BE793F #3FBE79
tetradic
#793FBE #BE3F44 #84BE3F #3FBEB9
square
#793FBE #BE3F44 #84BE3F #3FBEB9
split-complementary
#793FBE #BEB93F #44BE3F
monochromatic
#3E2162 #5C3090 #793FBE #996CCE #B99ADD

Accessibility & contrast

On white

6.43
#793FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#793FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793FBE
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FBE#FFFFFF#000000##FFFFFF
##793FBE1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#6A5C79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #793fbe;
/* rgb */ color: rgb(121, 63, 190);
/* oklch */ color: oklch(50.6% 0.190 300.7);
Tailwind
colors: {
  custom: {
    50: '#a578d2',
    500: '#793fbe',
    950: '#000000',
  },
}
SCSS
$custom: #793fbe;
$custom-light: #a578d2;
$custom-dark: #000000;
JSON
{
  "hex": "#793fbe",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 267.402,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50593,
    "c": 0.19001,
    "h": 300.7
  },
  "luminance": 0.11338
}

Semantic roles & 50–950 ramp

primary
#793FBE
secondary
#AFC98F
accent
#DA4E9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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