#794FEF#794FEF

#794FEF is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.227 H 289.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#794FEF
RGBrgb(121, 79, 239)
HSLhsl(256, 83%, 62%)
HSVhsv(256, 67%, 94%)
CMYKcmyk(49.4%, 66.9%, 0%, 6.3%)
CIE-LABlab(46.83, 54.83, -74.62)
CIE-LCHlch(46.83, 92.60, 306.31°)
OKLaboklab(56.54% 0.0742 -0.214)
OKLCHoklch(56.54% 0.227 289.1)
XYZxyz(26.2566, 15.8878, 83.3278)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FEF #C5EF4F
analogous
#4F75EF #794FEF #C94FEF
triadic
#794FEF #EF794F #4FEF79
tetradic
#794FEF #EF4F75 #C5EF4F #4FEFC9
square
#794FEF #EF4F75 #C5EF4F #4FEFC9
split-complementary
#794FEF #EFC94F #75EF4F
monochromatic
#3B10B3 #4E17EA #794FEF #A487F4 #CEBFF9

Accessibility & contrast

On white

5.03
#794FEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#794FEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FEF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FEF#FFFFFF#000000##FFFFFF
##794FEF1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#006BEC
Tritanopia (blue-blind)
#507799
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #794fef;
/* rgb */ color: rgb(121, 79, 239);
/* oklch */ color: oklch(56.5% 0.227 289.1);
Tailwind
colors: {
  custom: {
    50: '#a983f5',
    500: '#794fef',
    950: '#000000',
  },
}
SCSS
$custom: #794fef;
$custom-light: #a983f5;
$custom-dark: #000000;
JSON
{
  "hex": "#794fef",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 239
  },
  "hsl": {
    "h": 255.75,
    "s": 83.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56544,
    "c": 0.22655,
    "h": 289.1
  },
  "luminance": 0.15889
}

Semantic roles & 50–950 ramp

primary
#794FEF
secondary
#DBEAB0
accent
#E006A7
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #794FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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