#794FE4#794FE4

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

Color values

HEX#794FE4
RGBrgb(121, 79, 228)
HSLhsl(257, 73%, 60%)
HSVhsv(257, 65%, 89%)
CMYKcmyk(46.9%, 65.4%, 0%, 10.6%)
CIE-LABlab(45.98, 51.81, -69.78)
CIE-LCHlch(45.98, 86.91, 306.59°)
OKLaboklab(55.68% 0.0757 -0.1998)
OKLCHoklch(55.68% 0.214 290.7)
XYZxyz(24.6808, 15.2574, 75.0283)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FE4 #BAE44F
analogous
#4F6FE4 #794FE4 #C44FE4
triadic
#794FE4 #E4794F #4FE479
tetradic
#794FE4 #E44F6F #BAE44F #4FE4C4
square
#794FE4 #E44F6F #BAE44F #4FE4C4
split-complementary
#794FE4 #E4C44F #6FE44F
monochromatic
#3F19A0 #5421D5 #794FE4 #A184EC #CAB9F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##794FE4#FFFFFF#000000##FFFFFF
##794FE41.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)
#006FE9
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#577393
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #794fe4;
/* rgb */ color: rgb(121, 79, 228);
/* oklch */ color: oklch(55.7% 0.214 290.7);
Tailwind
colors: {
  custom: {
    50: '#a883ed',
    500: '#794fe4',
    950: '#000000',
  },
}
SCSS
$custom: #794fe4;
$custom-light: #a883ed;
$custom-dark: #000000;
JSON
{
  "hex": "#794fe4",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 256.913,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55676,
    "c": 0.21369,
    "h": 290.7
  },
  "luminance": 0.15258
}

Semantic roles & 50–950 ramp

primary
#794FE4
secondary
#D4E4AB
accent
#D6109E
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #794FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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