#793BCC#793BCC

#793BCC is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.2% C 0.210 H 298.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#793BCC
RGBrgb(121, 59, 204)
HSLhsl(266, 59%, 52%)
HSVhsv(266, 71%, 80%)
CMYKcmyk(40.7%, 71.1%, 0%, 20%)
CIE-LABlab(40.50, 55.58, -64.97)
CIE-LCHlch(40.50, 85.50, 310.55°)
OKLaboklab(51.18% 0.0989 -0.1856)
OKLCHoklch(51.18% 0.21 298)
XYZxyz(20.3454, 11.5522, 58.2729)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BCC #8ECC3B
analogous
#3B46CC #793BCC #C13BCC
triadic
#793BCC #CC793B #3BCC79
tetradic
#793BCC #CC3B46 #8ECC3B #3BCCC1
square
#793BCC #CC3B46 #8ECC3B #3BCCC1
split-complementary
#793BCC #CCC13B #46CC3B
monochromatic
#401D70 #5C2AA0 #793BCC #9A6CD9 #BB9CE5

Accessibility & contrast

On white

6.34
#793BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#793BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BCC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BCC#FFFFFF#000000##FFFFFF
##793BCC1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#645F80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #793bcc;
/* rgb */ color: rgb(121, 59, 204);
/* oklch */ color: oklch(51.2% 0.210 298.0);
Tailwind
colors: {
  custom: {
    50: '#a676dd',
    500: '#793bcc',
    950: '#000000',
  },
}
SCSS
$custom: #793bcc;
$custom-light: #a676dd;
$custom-dark: #000000;
JSON
{
  "hex": "#793bcc",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 204
  },
  "hsl": {
    "h": 265.655,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51175,
    "c": 0.21034,
    "h": 298
  },
  "luminance": 0.11553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #793BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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