#793FE2#793FE2

#793FE2 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.4% C 0.230 H 293.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#793FE2
RGBrgb(121, 63, 226)
HSLhsl(261, 74%, 57%)
HSVhsv(261, 72%, 89%)
CMYKcmyk(46.5%, 72.1%, 0%, 11.4%)
CIE-LABlab(42.93, 59.31, -73.63)
CIE-LCHlch(42.93, 94.55, 308.85°)
OKLaboklab(53.45% 0.0908 -0.2111)
OKLCHoklch(53.45% 0.23 293.3)
XYZxyz(23.3863, 13.1102, 73.2351)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FE2 #A8E23F
analogous
#3F57E2 #793FE2 #CB3FE2
triadic
#793FE2 #E2793F #3FE279
tetradic
#793FE2 #E23F57 #A8E23F #3FE2CB
square
#793FE2 #E23F57 #A8E23F #3FE2CB
split-complementary
#793FE2 #E2CB3F #57E23F
monochromatic
#421691 #5A1EC6 #793FE2 #9E74EA #C3A9F2

Accessibility & contrast

On white

5.80
#793FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#793FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793FE2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FE2#FFFFFF#000000##FFFFFF
##793FE21.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#596A8D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #793fe2;
/* rgb */ color: rgb(121, 63, 226);
/* oklch */ color: oklch(53.4% 0.230 293.3);
Tailwind
colors: {
  custom: {
    50: '#a979ec',
    500: '#793fe2',
    950: '#000000',
  },
}
SCSS
$custom: #793fe2;
$custom-light: #a979ec;
$custom-dark: #000000;
JSON
{
  "hex": "#793fe2",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 226
  },
  "hsl": {
    "h": 261.35,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53446,
    "c": 0.22978,
    "h": 293.3
  },
  "luminance": 0.13111
}

Semantic roles & 50–950 ramp

primary
#793FE2
secondary
#C8E09D
accent
#F037AF
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #793FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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