#793EBC#793EBC

#793EBC is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.3% C 0.189 H 301.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#793EBC
RGBrgb(121, 62, 188)
HSLhsl(268, 50%, 49%)
HSVhsv(268, 67%, 74%)
CMYKcmyk(35.6%, 67%, 0%, 26.3%)
CIE-LABlab(39.82, 50.13, -56.75)
CIE-LCHlch(39.82, 75.72, 311.45°)
OKLaboklab(50.31% 0.0983 -0.1615)
OKLCHoklch(50.31% 0.189 301.3)
XYZxyz(18.6827, 11.1409, 48.7333)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793EBC #81BC3E
analogous
#3E42BC #793EBC #B83EBC
triadic
#793EBC #BC793E #3EBC79
tetradic
#793EBC #BC3E42 #81BC3E #3EBCB8
square
#793EBC #BC3E42 #81BC3E #3EBCB8
split-complementary
#793EBC #BCB83E #42BC3E
monochromatic
#3E2060 #5B2F8E #793EBC #986ACE #B898DD

Accessibility & contrast

On white

6.51
#793EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#793EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793EBC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793EBC#FFFFFF#000000##FFFFFF
##793EBC1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#6B5B78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #793ebc;
/* rgb */ color: rgb(121, 62, 188);
/* oklch */ color: oklch(50.3% 0.189 301.3);
Tailwind
colors: {
  custom: {
    50: '#a577d1',
    500: '#793ebc',
    950: '#000000',
  },
}
SCSS
$custom: #793ebc;
$custom-light: #a577d1;
$custom-dark: #000000;
JSON
{
  "hex": "#793ebc",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 188
  },
  "hsl": {
    "h": 268.095,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50314,
    "c": 0.18906,
    "h": 301.3
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

primary
#793EBC
secondary
#ADC98D
accent
#DA4E98
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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