#793BD3#793BD3

#793BD3 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.218 H 296.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#793BD3
RGBrgb(121, 59, 211)
HSLhsl(264, 63%, 53%)
HSVhsv(264, 72%, 83%)
CMYKcmyk(42.7%, 72%, 0%, 17.3%)
CIE-LABlab(41.05, 57.34, -68.11)
CIE-LCHlch(41.05, 89.04, 310.09°)
OKLaboklab(51.74% 0.0975 -0.1949)
OKLCHoklch(51.74% 0.218 296.6)
XYZxyz(21.2039, 11.8956, 62.7943)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BD3 #95D33B
analogous
#3B49D3 #793BD3 #C53BD3
triadic
#793BD3 #D3793B #3BD379
tetradic
#793BD3 #D33B49 #95D33B #3BD3C5
square
#793BD3 #D33B49 #95D33B #3BD3C5
split-complementary
#793BD3 #D3C53B #49D33B
monochromatic
#411B79 #5C26AB #793BD3 #9B6DDE #BD9FE9

Accessibility & contrast

On white

6.21
#793BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#793BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BD3
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BD3#FFFFFF#000000##FFFFFF
##793BD31.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.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: #793bd3;
/* rgb */ color: rgb(121, 59, 211);
/* oklch */ color: oklch(51.7% 0.218 296.6);
Tailwind
colors: {
  custom: {
    50: '#a776e2',
    500: '#793bd3',
    950: '#000000',
  },
}
SCSS
$custom: #793bd3;
$custom-light: #a776e2;
$custom-dark: #000000;
JSON
{
  "hex": "#793bd3",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 211
  },
  "hsl": {
    "h": 264.474,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5174,
    "c": 0.2179,
    "h": 296.6
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#793BD3
secondary
#BBD694
accent
#E641A3
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #793BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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