#793CD3#793CD3

#793CD3 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.217 H 296.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#793CD3
RGBrgb(121, 60, 211)
HSLhsl(264, 63%, 53%)
HSVhsv(264, 72%, 83%)
CMYKcmyk(42.7%, 71.6%, 0%, 17.3%)
CIE-LABlab(41.22, 56.88, -67.84)
CIE-LCHlch(41.22, 88.53, 309.97°)
OKLaboklab(51.86% 0.0966 -0.1941)
OKLCHoklch(51.86% 0.217 296.5)
XYZxyz(21.2558, 11.9994, 62.8116)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CD3 #96D33C
analogous
#3C4AD3 #793CD3 #C43CD3
triadic
#793CD3 #D3793C #3CD379
tetradic
#793CD3 #D33C4A #96D33C #3CD3C4
square
#793CD3 #D33C4A #96D33C #3CD3C4
split-complementary
#793CD3 #D3C43C #4AD33C
monochromatic
#411B79 #5C27AB #793CD3 #9B6EDE #BEA0EA

Accessibility & contrast

On white

6.18
#793CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#793CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CD3
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CD3#FFFFFF#000000##FFFFFF
##793CD31.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#616284
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #793cd3;
/* rgb */ color: rgb(121, 60, 211);
/* oklch */ color: oklch(51.9% 0.217 296.5);
Tailwind
colors: {
  custom: {
    50: '#a777e2',
    500: '#793cd3',
    950: '#000000',
  },
}
SCSS
$custom: #793cd3;
$custom-light: #a777e2;
$custom-dark: #000000;
JSON
{
  "hex": "#793cd3",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 211
  },
  "hsl": {
    "h": 264.238,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51857,
    "c": 0.21678,
    "h": 296.5
  },
  "luminance": 0.12
}

Semantic roles & 50–950 ramp

primary
#793CD3
secondary
#BCD695
accent
#E642A4
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #793CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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