#794FEA#794FEA

#794FEA is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.1% C 0.221 H 289.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#794FEA
RGBrgb(121, 79, 234)
HSLhsl(256, 79%, 61%)
HSVhsv(256, 66%, 92%)
CMYKcmyk(48.3%, 66.2%, 0%, 8.2%)
CIE-LABlab(46.44, 53.46, -72.43)
CIE-LCHlch(46.44, 90.02, 306.43°)
OKLaboklab(56.15% 0.0749 -0.2076)
OKLCHoklch(56.15% 0.221 289.8)
XYZxyz(25.5282, 15.5964, 79.4913)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FEA #C0EA4F
analogous
#4F73EA #794FEA #C74FEA
triadic
#794FEA #EA794F #4FEA79
tetradic
#794FEA #EA4F73 #C0EA4F #4FEAC7
square
#794FEA #EA4F73 #C0EA4F #4FEAC7
split-complementary
#794FEA #EAC74F #73EA4F
monochromatic
#3D14AA #511BE1 #794FEA #A386F1 #CCBCF7

Accessibility & contrast

On white

5.10
#794FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#794FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FEA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FEA#FFFFFF#000000##FFFFFF
##794FEA1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#006AE7
Tritanopia (blue-blind)
#537596
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #794fea;
/* rgb */ color: rgb(121, 79, 234);
/* oklch */ color: oklch(56.1% 0.221 289.8);
Tailwind
colors: {
  custom: {
    50: '#a983f2',
    500: '#794fea',
    950: '#000000',
  },
}
SCSS
$custom: #794fea;
$custom-light: #a983f2;
$custom-dark: #000000;
JSON
{
  "hex": "#794fea",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 256.258,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56146,
    "c": 0.22073,
    "h": 289.8
  },
  "luminance": 0.15597
}

Semantic roles & 50–950 ramp

primary
#794FEA
secondary
#D8E7AD
accent
#DB0BA2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #794FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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