#793CE3#793CE3

#793CE3 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.2% C 0.234 H 293.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#793CE3
RGBrgb(121, 60, 227)
HSLhsl(262, 75%, 56%)
HSVhsv(262, 74%, 89%)
CMYKcmyk(46.7%, 73.6%, 0%, 11%)
CIE-LABlab(42.52, 60.95, -74.86)
CIE-LCHlch(42.52, 96.53, 309.15°)
OKLaboklab(53.19% 0.093 -0.2147)
OKLCHoklch(53.19% 0.234 293.4)
XYZxyz(23.3623, 12.8420, 73.9060)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CE3 #A6E33C
analogous
#3C53E3 #793CE3 #CD3CE3
triadic
#793CE3 #E3793C #3CE379
tetradic
#793CE3 #E33C53 #A6E33C #3CE3CD
square
#793CE3 #E33C53 #A6E33C #3CE3CD
split-complementary
#793CE3 #E3CD3C #53E33C
monochromatic
#421590 #5A1CC5 #793CE3 #9E72EB #C3A7F2

Accessibility & contrast

On white

5.88
#793CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#793CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CE3
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CE3#FFFFFF#000000##FFFFFF
##793CE31.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E8
Deuteranopia (green-blind)
#0061E0
Tritanopia (blue-blind)
#59698D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #793ce3;
/* rgb */ color: rgb(121, 60, 227);
/* oklch */ color: oklch(53.2% 0.234 293.4);
Tailwind
colors: {
  custom: {
    50: '#a978ed',
    500: '#793ce3',
    950: '#000000',
  },
}
SCSS
$custom: #793ce3;
$custom-light: #a978ed;
$custom-dark: #000000;
JSON
{
  "hex": "#793ce3",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 227
  },
  "hsl": {
    "h": 261.916,
    "s": 74.888,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53186,
    "c": 0.23399,
    "h": 293.4
  },
  "luminance": 0.12843
}

Semantic roles & 50–950 ramp

primary
#793CE3
secondary
#C7E09B
accent
#F236AD
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #793CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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