#794CF5#794CF5

#794CF5 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.237 H 288.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#794CF5
RGBrgb(121, 76, 245)
HSLhsl(256, 89%, 63%)
HSVhsv(256, 69%, 96%)
CMYKcmyk(50.6%, 69%, 0%, 3.9%)
CIE-LABlab(46.74, 58.02, -78.12)
CIE-LCHlch(46.74, 97.31, 306.60°)
OKLaboklab(56.63% 0.0759 -0.2243)
OKLCHoklch(56.63% 0.237 288.7)
XYZxyz(26.9462, 15.8252, 88.0032)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CF5 #C8F54C
analogous
#4C74F5 #794CF5 #CD4CF5
triadic
#794CF5 #F5794C #4CF579
tetradic
#794CF5 #F54C74 #C8F54C #4CF5CD
square
#794CF5 #F54C74 #C8F54C #4CF5CD
split-complementary
#794CF5 #F5CD4C #74F54C
monochromatic
#3A0BBC #4E12F2 #794CF5 #A486F8 #D0C0FB

Accessibility & contrast

On white

5.04
#794CF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#794CF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CF5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CF5#FFFFFF#000000##FFFFFF
##794CF51.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FA
Deuteranopia (green-blind)
#006AF2
Tritanopia (blue-blind)
#4B789B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #794cf5;
/* rgb */ color: rgb(121, 76, 245);
/* oklch */ color: oklch(56.6% 0.237 288.7);
Tailwind
colors: {
  custom: {
    50: '#aa81fa',
    500: '#794cf5',
    950: '#000000',
  },
}
SCSS
$custom: #794cf5;
$custom-light: #aa81fa;
$custom-dark: #000000;
JSON
{
  "hex": "#794cf5",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 245
  },
  "hsl": {
    "h": 255.976,
    "s": 89.418,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56632,
    "c": 0.23681,
    "h": 288.7
  },
  "luminance": 0.15826
}

Semantic roles & 50–950 ramp

primary
#794CF5
secondary
#DDEDB0
accent
#E600A8
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #794CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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