#793FD4#793FD4

#793FD4 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.3% C 0.214 H 295.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#793FD4
RGBrgb(121, 63, 212)
HSLhsl(263, 63%, 54%)
HSVhsv(263, 70%, 83%)
CMYKcmyk(42.9%, 70.3%, 0%, 16.9%)
CIE-LABlab(41.80, 55.71, -67.46)
CIE-LCHlch(41.80, 87.49, 309.55°)
OKLaboklab(52.3% 0.0936 -0.193)
OKLCHoklch(52.3% 0.214 295.9)
XYZxyz(21.5432, 12.3729, 63.5278)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FD4 #9AD43F
analogous
#3F50D4 #793FD4 #C43FD4
triadic
#793FD4 #D4793F #3FD479
tetradic
#793FD4 #D43F50 #9AD43F #3FD4C4
square
#793FD4 #D43F50 #9AD43F #3FD4C4
split-complementary
#793FD4 #D4C43F #50D43F
monochromatic
#421C7D #5C27AF #793FD4 #9C71DF #BFA3EA

Accessibility & contrast

On white

6.04
#793FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#793FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793FD4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FD4#FFFFFF#000000##FFFFFF
##793FD41.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D8
Deuteranopia (green-blind)
#0060D1
Tritanopia (blue-blind)
#616485
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #793fd4;
/* rgb */ color: rgb(121, 63, 212);
/* oklch */ color: oklch(52.3% 0.214 295.9);
Tailwind
colors: {
  custom: {
    50: '#a779e2',
    500: '#793fd4',
    950: '#000000',
  },
}
SCSS
$custom: #793fd4;
$custom-light: #a779e2;
$custom-dark: #000000;
JSON
{
  "hex": "#793fd4",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 212
  },
  "hsl": {
    "h": 263.356,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52299,
    "c": 0.21447,
    "h": 295.9
  },
  "luminance": 0.12373
}

Semantic roles & 50–950 ramp

primary
#793FD4
secondary
#BED798
accent
#E641A6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #793FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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