#793CC4#793CC4

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

Color values

HEX#793CC4
RGBrgb(121, 60, 196)
HSLhsl(267, 54%, 50%)
HSVhsv(267, 69%, 77%)
CMYKcmyk(38.3%, 69.4%, 0%, 23.1%)
CIE-LABlab(40.05, 53.10, -61.05)
CIE-LCHlch(40.05, 80.91, 311.02°)
OKLaboklab(50.67% 0.0993 -0.1741)
OKLCHoklch(50.67% 0.2 299.7)
XYZxyz(19.4623, 11.2820, 53.3661)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CC4 #87C43C
analogous
#3C43C4 #793CC4 #BD3CC4
triadic
#793CC4 #C4793C #3CC479
tetradic
#793CC4 #C43C43 #87C43C #3CC4BD
square
#793CC4 #C43C43 #87C43C #3CC4BD
split-complementary
#793CC4 #C4BD3C #43C43C
monochromatic
#3F1F67 #5C2D96 #793CC4 #996BD2 #BA9AE0

Accessibility & contrast

On white

6.45
#793CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#793CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CC4
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CC4#FFFFFF#000000##FFFFFF
##793CC41.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#685D7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #793cc4;
/* rgb */ color: rgb(121, 60, 196);
/* oklch */ color: oklch(50.7% 0.200 299.7);
Tailwind
colors: {
  custom: {
    50: '#a676d7',
    500: '#793cc4',
    950: '#000000',
  },
}
SCSS
$custom: #793cc4;
$custom-light: #a676d7;
$custom-dark: #000000;
JSON
{
  "hex": "#793cc4",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 266.912,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50667,
    "c": 0.20044,
    "h": 299.7
  },
  "luminance": 0.11282
}

Semantic roles & 50–950 ramp

primary
#793CC4
secondary
#B1CC90
accent
#DD4B9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #793CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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