#793CBA#793CBA

#793CBA is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.9% C 0.189 H 302.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#793CBA
RGBrgb(121, 60, 186)
HSLhsl(269, 51%, 48%)
HSVhsv(269, 68%, 73%)
CMYKcmyk(34.9%, 67.7%, 0%, 27.1%)
CIE-LABlab(39.31, 50.63, -56.39)
CIE-LCHlch(39.31, 75.78, 311.92°)
OKLaboklab(49.91% 0.1008 -0.1604)
OKLCHoklch(49.91% 0.189 302.1)
XYZxyz(18.3618, 10.8418, 47.5702)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CBA #7DBA3C
analogous
#3C3EBA #793CBA #B83CBA
triadic
#793CBA #BA793C #3CBA79
tetradic
#793CBA #BA3C3E #7DBA3C #3CBAB8
square
#793CBA #BA3C3E #7DBA3C #3CBAB8
split-complementary
#793CBA #BAB83C #3EBA3C
monochromatic
#3D1E5D #5B2D8C #793CBA #9866CE #B794DC

Accessibility & contrast

On white

6.63
#793CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#793CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CBA
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CBA#FFFFFF#000000##FFFFFF
##793CBA1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#6C5976
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #793cba;
/* rgb */ color: rgb(121, 60, 186);
/* oklch */ color: oklch(49.9% 0.189 302.1);
Tailwind
colors: {
  custom: {
    50: '#a576d0',
    500: '#793cba',
    950: '#000000',
  },
}
SCSS
$custom: #793cba;
$custom-light: #a576d0;
$custom-dark: #000000;
JSON
{
  "hex": "#793cba",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 269.048,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49907,
    "c": 0.18943,
    "h": 302.1
  },
  "luminance": 0.10842
}

Semantic roles & 50–950 ramp

primary
#793CBA
secondary
#AAC88A
accent
#DB4D96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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