#793DCA#793DCA

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

Color values

HEX#793DCA
RGBrgb(121, 61, 202)
HSLhsl(266, 57%, 52%)
HSVhsv(266, 70%, 79%)
CMYKcmyk(40.1%, 69.8%, 0%, 20.8%)
CIE-LABlab(40.68, 54.13, -63.51)
CIE-LCHlch(40.68, 83.45, 310.44°)
OKLaboklab(51.26% 0.0973 -0.1814)
OKLCHoklch(51.26% 0.206 298.2)
XYZxyz(20.2118, 11.6664, 57.0526)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793DCA #8ECA3D
analogous
#3D48CA #793DCA #C03DCA
triadic
#793DCA #CA793D #3DCA79
tetradic
#793DCA #CA3D48 #8ECA3D #3DCAC0
square
#793DCA #CA3D48 #8ECA3D #3DCAC0
split-complementary
#793DCA #CAC03D #48CA3D
monochromatic
#401E6E #5C2B9F #793DCA #9A6DD7 #BB9DE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##793DCA#FFFFFF#000000##FFFFFF
##793DCA1.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)
#0060CE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#655F7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #793dca;
/* rgb */ color: rgb(121, 61, 202);
/* oklch */ color: oklch(51.3% 0.206 298.2);
Tailwind
colors: {
  custom: {
    50: '#a677db',
    500: '#793dca',
    950: '#000000',
  },
}
SCSS
$custom: #793dca;
$custom-light: #a677db;
$custom-dark: #000000;
JSON
{
  "hex": "#793dca",
  "rgb": {
    "r": 121,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 265.532,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51258,
    "c": 0.20582,
    "h": 298.2
  },
  "luminance": 0.11667
}

Semantic roles & 50–950 ramp

primary
#793DCA
secondary
#B6D092
accent
#E0479F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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