#793BD4#793BD4

#793BD4 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.8% C 0.219 H 296.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#793BD4
RGBrgb(121, 59, 212)
HSLhsl(264, 64%, 53%)
HSVhsv(264, 72%, 83%)
CMYKcmyk(42.9%, 72.2%, 0%, 16.9%)
CIE-LABlab(41.13, 57.59, -68.56)
CIE-LCHlch(41.13, 89.54, 310.03°)
OKLaboklab(51.82% 0.0973 -0.1962)
OKLCHoklch(51.82% 0.219 296.4)
XYZxyz(21.3296, 11.9459, 63.4566)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BD4 #96D43B
analogous
#3B49D4 #793BD4 #C63BD4
triadic
#793BD4 #D4793B #3BD479
tetradic
#793BD4 #D43B49 #96D43B #3BD4C6
square
#793BD4 #D43B49 #96D43B #3BD4C6
split-complementary
#793BD4 #D4C63B #49D43B
monochromatic
#411B7A #5C26AC #793BD4 #9B6DDF #BE9FEA

Accessibility & contrast

On white

6.20
#793BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#793BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BD4
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BD4#FFFFFF#000000##FFFFFF
##793BD41.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #793bd4;
/* rgb */ color: rgb(121, 59, 212);
/* oklch */ color: oklch(51.8% 0.219 296.4);
Tailwind
colors: {
  custom: {
    50: '#a776e2',
    500: '#793bd4',
    950: '#000000',
  },
}
SCSS
$custom: #793bd4;
$custom-light: #a776e2;
$custom-dark: #000000;
JSON
{
  "hex": "#793bd4",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 212
  },
  "hsl": {
    "h": 264.314,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51822,
    "c": 0.21897,
    "h": 296.4
  },
  "luminance": 0.11946
}

Semantic roles & 50–950 ramp

primary
#793BD4
secondary
#BCD694
accent
#E741A4
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #793BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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