#793CB8#793CB8

#793CB8 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.8% C 0.187 H 302.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#793CB8
RGBrgb(121, 60, 184)
HSLhsl(270, 51%, 48%)
HSVhsv(270, 67%, 72%)
CMYKcmyk(34.2%, 67.4%, 0%, 27.8%)
CIE-LABlab(39.17, 50.13, -55.45)
CIE-LCHlch(39.17, 74.75, 312.12°)
OKLaboklab(49.76% 0.101 -0.1577)
OKLCHoklch(49.76% 0.187 302.6)
XYZxyz(18.1507, 10.7573, 46.4582)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CB8 #7BB83C
analogous
#3C3DB8 #793CB8 #B73CB8
triadic
#793CB8 #B8793C #3CB879
tetradic
#793CB8 #B83C3D #7BB83C #3CB8B7
square
#793CB8 #B83C3D #7BB83C #3CB8B7
split-complementary
#793CB8 #B8B73C #3DB83C
monochromatic
#3C1E5C #5B2D8A #793CB8 #9865CD #B793DC

Accessibility & contrast

On white

6.66
#793CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#793CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CB8
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CB8#FFFFFF#000000##FFFFFF
##793CB81.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#005CB5
Tritanopia (blue-blind)
#6C5875
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #793cb8;
/* rgb */ color: rgb(121, 60, 184);
/* oklch */ color: oklch(49.8% 0.187 302.6);
Tailwind
colors: {
  custom: {
    50: '#a576ce',
    500: '#793cb8',
    950: '#000000',
  },
}
SCSS
$custom: #793cb8;
$custom-light: #a576ce;
$custom-dark: #000000;
JSON
{
  "hex": "#793cb8",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 269.516,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49758,
    "c": 0.18723,
    "h": 302.6
  },
  "luminance": 0.10757
}

Semantic roles & 50–950 ramp

primary
#793CB8
secondary
#A8C789
accent
#DA4D95
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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