#793CC8#793CC8

#793CC8 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.0% C 0.205 H 298.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#793CC8
RGBrgb(121, 60, 200)
HSLhsl(266, 56%, 51%)
HSVhsv(266, 70%, 78%)
CMYKcmyk(39.5%, 70%, 0%, 21.6%)
CIE-LABlab(40.36, 54.11, -62.88)
CIE-LCHlch(40.36, 82.95, 310.71°)
OKLaboklab(50.98% 0.0986 -0.1795)
OKLCHoklch(50.98% 0.205 298.8)
XYZxyz(19.9237, 11.4665, 55.7960)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CC8 #8BC83C
analogous
#3C45C8 #793CC8 #BF3CC8
triadic
#793CC8 #C8793C #3CC879
tetradic
#793CC8 #C83C45 #8BC83C #3CC8BF
square
#793CC8 #C83C45 #8BC83C #3CC8BF
split-complementary
#793CC8 #C8BF3C #45C83C
monochromatic
#401E6B #5C2C9B #793CC8 #9A6CD5 #BB9BE3

Accessibility & contrast

On white

6.38
#793CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#793CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CC8
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CC8#FFFFFF#000000##FFFFFF
##793CC81.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#665E7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #793cc8;
/* rgb */ color: rgb(121, 60, 200);
/* oklch */ color: oklch(51.0% 0.205 298.8);
Tailwind
colors: {
  custom: {
    50: '#a677da',
    500: '#793cc8',
    950: '#000000',
  },
}
SCSS
$custom: #793cc8;
$custom-light: #a677da;
$custom-dark: #000000;
JSON
{
  "hex": "#793cc8",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 266.143,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50979,
    "c": 0.20482,
    "h": 298.8
  },
  "luminance": 0.11467
}

Semantic roles & 50–950 ramp

primary
#793CC8
secondary
#B4CF91
accent
#DF499E
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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