#793FBB#793FBB

#793FBB is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.187 H 301.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#793FBB
RGBrgb(121, 63, 187)
HSLhsl(268, 50%, 49%)
HSVhsv(268, 66%, 73%)
CMYKcmyk(35.3%, 66.3%, 0%, 26.7%)
CIE-LABlab(39.93, 49.38, -55.98)
CIE-LCHlch(39.93, 74.65, 311.41°)
OKLaboklab(50.37% 0.0974 -0.1592)
OKLCHoklch(50.37% 0.187 301.4)
XYZxyz(18.6302, 11.2077, 48.1859)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FBB #81BB3F
analogous
#3F43BB #793FBB #B73FBB
triadic
#793FBB #BB793F #3FBB79
tetradic
#793FBB #BB3F43 #81BB3F #3FBBB7
square
#793FBB #BB3F43 #81BB3F #3FBBB7
split-complementary
#793FBB #BBB73F #43BB3F
monochromatic
#3E205F #5B308D #793FBB #986ACD #B898DC

Accessibility & contrast

On white

6.48
#793FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#793FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793FBB
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FBB#FFFFFF#000000##FFFFFF
##793FBB1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #793fbb;
/* rgb */ color: rgb(121, 63, 187);
/* oklch */ color: oklch(50.4% 0.187 301.4);
Tailwind
colors: {
  custom: {
    50: '#a578d0',
    500: '#793fbb',
    950: '#000000',
  },
}
SCSS
$custom: #793fbb;
$custom-light: #a578d0;
$custom-dark: #000000;
JSON
{
  "hex": "#793fbb",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 268.065,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50371,
    "c": 0.18663,
    "h": 301.4
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

primary
#793FBB
secondary
#ADC88E
accent
#D94F98
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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