#793DD3#793DD3

#793DD3 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.216 H 296.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#793DD3
RGBrgb(121, 61, 211)
HSLhsl(264, 63%, 53%)
HSVhsv(264, 71%, 83%)
CMYKcmyk(42.7%, 71.1%, 0%, 17.3%)
CIE-LABlab(41.38, 56.41, -67.57)
CIE-LCHlch(41.38, 88.02, 309.85°)
OKLaboklab(51.98% 0.0957 -0.1933)
OKLCHoklch(51.98% 0.216 296.3)
XYZxyz(21.3087, 12.1051, 62.8292)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793DD3 #97D33D
analogous
#3D4CD3 #793DD3 #C43DD3
triadic
#793DD3 #D3793D #3DD379
tetradic
#793DD3 #D33D4C #97D33D #3DD3C4
square
#793DD3 #D33D4C #97D33D #3DD3C4
split-complementary
#793DD3 #D3C43D #4CD33D
monochromatic
#411C7A #5C27AC #793DD3 #9B6FDE #BEA1EA

Accessibility & contrast

On white

6.14
#793DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#793DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793DD3
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793DD3#FFFFFF#000000##FFFFFF
##793DD31.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#616384
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #793dd3;
/* rgb */ color: rgb(121, 61, 211);
/* oklch */ color: oklch(52.0% 0.216 296.3);
Tailwind
colors: {
  custom: {
    50: '#a777e2',
    500: '#793dd3',
    950: '#000000',
  },
}
SCSS
$custom: #793dd3;
$custom-light: #a777e2;
$custom-dark: #000000;
JSON
{
  "hex": "#793dd3",
  "rgb": {
    "r": 121,
    "g": 61,
    "b": 211
  },
  "hsl": {
    "h": 264,
    "s": 63.025,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51976,
    "c": 0.21566,
    "h": 296.3
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #793DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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