#793ACC#793ACC

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

Color values

HEX#793ACC
RGBrgb(121, 58, 204)
HSLhsl(266, 59%, 51%)
HSVhsv(266, 72%, 80%)
CMYKcmyk(40.7%, 71.6%, 0%, 20%)
CIE-LABlab(40.33, 56.05, -65.25)
CIE-LCHlch(40.33, 86.02, 310.67°)
OKLaboklab(51.06% 0.0998 -0.1864)
OKLCHoklch(51.06% 0.211 298.2)
XYZxyz(20.2945, 11.4504, 58.2559)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793ACC #8DCC3A
analogous
#3A44CC #793ACC #C23ACC
triadic
#793ACC #CC793A #3ACC79
tetradic
#793ACC #CC3A44 #8DCC3A #3ACCC2
square
#793ACC #CC3A44 #8DCC3A #3ACCC2
split-complementary
#793ACC #CCC23A #44CC3A
monochromatic
#401D6F #5C29A0 #793ACC #9A6BD9 #BB9BE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##793ACC#FFFFFF#000000##FFFFFF
##793ACC1.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)
#005FD0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#655F7F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #793acc;
/* rgb */ color: rgb(121, 58, 204);
/* oklch */ color: oklch(51.1% 0.211 298.2);
Tailwind
colors: {
  custom: {
    50: '#a676dd',
    500: '#793acc',
    950: '#000000',
  },
}
SCSS
$custom: #793acc;
$custom-light: #a676dd;
$custom-dark: #000000;
JSON
{
  "hex": "#793acc",
  "rgb": {
    "r": 121,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 265.89,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51057,
    "c": 0.21148,
    "h": 298.2
  },
  "luminance": 0.11451
}

Semantic roles & 50–950 ramp

primary
#793ACC
secondary
#B5D191
accent
#E2469F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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