#793CC5#793CC5

#793CC5 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.202 H 299.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#793CC5
RGBrgb(121, 60, 197)
HSLhsl(267, 54%, 50%)
HSVhsv(267, 70%, 77%)
CMYKcmyk(38.6%, 69.5%, 0%, 22.7%)
CIE-LABlab(40.13, 53.35, -61.51)
CIE-LCHlch(40.13, 81.42, 310.94°)
OKLaboklab(50.75% 0.0992 -0.1755)
OKLCHoklch(50.75% 0.202 299.5)
XYZxyz(19.5765, 11.3277, 53.9676)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CC5 #88C53C
analogous
#3C44C5 #793CC5 #BD3CC5
triadic
#793CC5 #C5793C #3CC579
tetradic
#793CC5 #C53C44 #88C53C #3CC5BD
square
#793CC5 #C53C44 #88C53C #3CC5BD
split-complementary
#793CC5 #C5BD3C #44C53C
monochromatic
#3F1F68 #5C2D97 #793CC5 #996BD3 #BA9AE1

Accessibility & contrast

On white

6.43
#793CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#793CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CC5
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CC5#FFFFFF#000000##FFFFFF
##793CC51.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#675D7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #793cc5;
/* rgb */ color: rgb(121, 60, 197);
/* oklch */ color: oklch(50.7% 0.202 299.5);
Tailwind
colors: {
  custom: {
    50: '#a676d7',
    500: '#793cc5',
    950: '#000000',
  },
}
SCSS
$custom: #793cc5;
$custom-light: #a676d7;
$custom-dark: #000000;
JSON
{
  "hex": "#793cc5",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 266.715,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50745,
    "c": 0.20154,
    "h": 299.5
  },
  "luminance": 0.11328
}

Semantic roles & 50–950 ramp

primary
#793CC5
secondary
#B2CD90
accent
#DE4A9C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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