#793FD3#793FD3

#793FD3 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.213 H 296.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#793FD3
RGBrgb(121, 63, 211)
HSLhsl(264, 63%, 54%)
HSVhsv(264, 70%, 83%)
CMYKcmyk(42.7%, 70.1%, 0%, 17.3%)
CIE-LABlab(41.72, 55.45, -67.01)
CIE-LCHlch(41.72, 86.98, 309.61°)
OKLaboklab(52.22% 0.0938 -0.1917)
OKLCHoklch(52.22% 0.213 296.1)
XYZxyz(21.4174, 12.3226, 62.8655)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FD3 #99D33F
analogous
#3F4FD3 #793FD3 #C33FD3
triadic
#793FD3 #D3793F #3FD379
tetradic
#793FD3 #D33F4F #99D33F #3FD3C3
square
#793FD3 #D33F4F #99D33F #3FD3C3
split-complementary
#793FD3 #D3C33F #4FD33F
monochromatic
#421C7B #5C28AD #793FD3 #9C71DE #BEA3EA

Accessibility & contrast

On white

6.06
#793FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#793FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793FD3
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FD3#FFFFFF#000000##FFFFFF
##793FD31.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #793fd3;
/* rgb */ color: rgb(121, 63, 211);
/* oklch */ color: oklch(52.2% 0.213 296.1);
Tailwind
colors: {
  custom: {
    50: '#a779e2',
    500: '#793fd3',
    950: '#000000',
  },
}
SCSS
$custom: #793fd3;
$custom-light: #a779e2;
$custom-dark: #000000;
JSON
{
  "hex": "#793fd3",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 211
  },
  "hsl": {
    "h": 263.514,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52219,
    "c": 0.21337,
    "h": 296.1
  },
  "luminance": 0.12323
}

Semantic roles & 50–950 ramp

primary
#793FD3
secondary
#BED797
accent
#E642A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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