#793CCC#793CCC

#793CCC is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.209 H 297.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#793CCC
RGBrgb(121, 60, 204)
HSLhsl(265, 59%, 52%)
HSVhsv(265, 71%, 80%)
CMYKcmyk(40.7%, 70.6%, 0%, 20%)
CIE-LABlab(40.66, 55.11, -64.70)
CIE-LCHlch(40.66, 84.99, 310.42°)
OKLaboklab(51.3% 0.0979 -0.1848)
OKLCHoklch(51.3% 0.209 297.9)
XYZxyz(20.3973, 11.6560, 58.2902)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CCC #8FCC3C
analogous
#3C47CC #793CCC #C13CCC
triadic
#793CCC #CC793C #3CCC79
tetradic
#793CCC #CC3C47 #8FCC3C #3CCCC1
square
#793CCC #CC3C47 #8FCC3C #3CCCC1
split-complementary
#793CCC #CCC13C #47CC3C
monochromatic
#401D70 #5C2AA1 #793CCC #9A6DD9 #BC9DE5

Accessibility & contrast

On white

6.30
#793CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#793CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CCC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CCC#FFFFFF#000000##FFFFFF
##793CCC1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#646080
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #793ccc;
/* rgb */ color: rgb(121, 60, 204);
/* oklch */ color: oklch(51.3% 0.209 297.9);
Tailwind
colors: {
  custom: {
    50: '#a677dd',
    500: '#793ccc',
    950: '#000000',
  },
}
SCSS
$custom: #793ccc;
$custom-light: #a677dd;
$custom-dark: #000000;
JSON
{
  "hex": "#793ccc",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 265.417,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51295,
    "c": 0.20918,
    "h": 297.9
  },
  "luminance": 0.11656
}

Semantic roles & 50–950 ramp

primary
#793CCC
secondary
#B7D192
accent
#E246A0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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