#793CB2#793CB2

#793CB2 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.3% C 0.181 H 304.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#793CB2
RGBrgb(121, 60, 178)
HSLhsl(271, 50%, 47%)
HSVhsv(271, 66%, 70%)
CMYKcmyk(32%, 66.3%, 0%, 30.2%)
CIE-LABlab(38.74, 48.67, -52.59)
CIE-LCHlch(38.74, 71.66, 312.78°)
OKLaboklab(49.32% 0.1017 -0.1492)
OKLCHoklch(49.32% 0.181 304.3)
XYZxyz(17.5351, 10.5111, 43.2159)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CB2 #75B23C
analogous
#3E3CB2 #793CB2 #B23CB0
triadic
#793CB2 #B2793C #3CB279
tetradic
#793CB2 #B23E3C #75B23C #3CB0B2
square
#793CB2 #B23E3C #75B23C #3CB0B2
split-complementary
#793CB2 #B0B23C #3CB23E
monochromatic
#3B1D56 #5A2D84 #793CB2 #9761CA #B58FD9

Accessibility & contrast

On white

6.77
#793CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#793CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CB2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CB2#FFFFFF#000000##FFFFFF
##793CB21.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#155BAF
Tritanopia (blue-blind)
#6E5672
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #793cb2;
/* rgb */ color: rgb(121, 60, 178);
/* oklch */ color: oklch(49.3% 0.181 304.3);
Tailwind
colors: {
  custom: {
    50: '#a476ca',
    500: '#793cb2',
    950: '#000000',
  },
}
SCSS
$custom: #793cb2;
$custom-light: #a476ca;
$custom-dark: #000000;
JSON
{
  "hex": "#793cb2",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 271.017,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49319,
    "c": 0.18058,
    "h": 304.3
  },
  "luminance": 0.10511
}

Semantic roles & 50–950 ramp

primary
#793CB2
secondary
#A4C486
accent
#D94F92
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #793CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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