#794DE9#794DE9

#794DE9 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.8% C 0.222 H 290.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#794DE9
RGBrgb(121, 77, 233)
HSLhsl(257, 78%, 61%)
HSVhsv(257, 67%, 91%)
CMYKcmyk(48.1%, 67%, 0%, 8.6%)
CIE-LABlab(45.98, 54.23, -72.62)
CIE-LCHlch(45.98, 90.63, 306.75°)
OKLaboklab(55.79% 0.0769 -0.2082)
OKLCHoklch(55.79% 0.222 290.3)
XYZxyz(25.2428, 15.2549, 78.6894)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DE9 #BDE94D
analogous
#4D6FE9 #794DE9 #C74DE9
triadic
#794DE9 #E9794D #4DE979
tetradic
#794DE9 #E94D6F #BDE94D #4DE9C7
square
#794DE9 #E94D6F #BDE94D #4DE9C7
split-complementary
#794DE9 #E9C74D #6FE94D
monochromatic
#3E15A7 #521BDD #794DE9 #A283F0 #CBBAF6

Accessibility & contrast

On white

5.18
#794DE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#794DE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DE9
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DE9#FFFFFF#000000##FFFFFF
##794DE91.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EE
Deuteranopia (green-blind)
#0069E6
Tritanopia (blue-blind)
#547495
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #794de9;
/* rgb */ color: rgb(121, 77, 233);
/* oklch */ color: oklch(55.8% 0.222 290.3);
Tailwind
colors: {
  custom: {
    50: '#a982f1',
    500: '#794de9',
    950: '#000000',
  },
}
SCSS
$custom: #794de9;
$custom-light: #a982f1;
$custom-dark: #000000;
JSON
{
  "hex": "#794de9",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 233
  },
  "hsl": {
    "h": 256.923,
    "s": 78,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55793,
    "c": 0.22192,
    "h": 290.3
  },
  "luminance": 0.15256
}

Semantic roles & 50–950 ramp

primary
#794DE9
secondary
#D6E6AB
accent
#DA0BA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #794DE9

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

Preview Lab → · Contrast checker → · Palette generator →

#794DE9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva