#793CBB#793CBB

#793CBB is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.191 H 301.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#793CBB
RGBrgb(121, 60, 187)
HSLhsl(269, 51%, 48%)
HSVhsv(269, 68%, 73%)
CMYKcmyk(35.3%, 67.9%, 0%, 26.7%)
CIE-LABlab(39.39, 50.87, -56.86)
CIE-LCHlch(39.39, 76.30, 311.82°)
OKLaboklab(49.98% 0.1006 -0.1618)
OKLCHoklch(49.98% 0.191 301.9)
XYZxyz(18.4685, 10.8845, 48.1320)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CBB #7EBB3C
analogous
#3C3EBB #793CBB #B83CBB
triadic
#793CBB #BB793C #3CBB79
tetradic
#793CBB #BB3C3E #7EBB3C #3CBBB8
square
#793CBB #BB3C3E #7EBB3C #3CBBB8
split-complementary
#793CBB #BBB83C #3EBB3C
monochromatic
#3D1E5E #5B2D8D #793CBB #9866CE #B795DD

Accessibility & contrast

On white

6.61
#793CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#793CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CBB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CBB#FFFFFF#000000##FFFFFF
##793CBB1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#6B5977
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #793cbb;
/* rgb */ color: rgb(121, 60, 187);
/* oklch */ color: oklch(50.0% 0.191 301.9);
Tailwind
colors: {
  custom: {
    50: '#a576d0',
    500: '#793cbb',
    950: '#000000',
  },
}
SCSS
$custom: #793cbb;
$custom-light: #a576d0;
$custom-dark: #000000;
JSON
{
  "hex": "#793cbb",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 268.819,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49981,
    "c": 0.19054,
    "h": 301.9
  },
  "luminance": 0.10885
}

Semantic roles & 50–950 ramp

primary
#793CBB
secondary
#ABC88B
accent
#DB4D97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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