#794FE8#794FE8

#794FE8 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.0% C 0.218 H 290.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#794FE8
RGBrgb(121, 79, 232)
HSLhsl(256, 77%, 61%)
HSVhsv(256, 66%, 91%)
CMYKcmyk(47.8%, 65.9%, 0%, 9%)
CIE-LABlab(46.29, 52.91, -71.55)
CIE-LCHlch(46.29, 88.99, 306.48°)
OKLaboklab(55.99% 0.0752 -0.205)
OKLCHoklch(55.99% 0.218 290.1)
XYZxyz(25.2425, 15.4821, 77.9866)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FE8 #BEE84F
analogous
#4F71E8 #794FE8 #C64FE8
triadic
#794FE8 #E8794F #4FE879
tetradic
#794FE8 #E84F71 #BEE84F #4FE8C6
square
#794FE8 #E84F71 #BEE84F #4FE8C6
split-complementary
#794FE8 #E8C64F #71E84F
monochromatic
#3E16A7 #521DDD #794FE8 #A285EF #CBBBF6

Accessibility & contrast

On white

5.13
#794FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#794FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FE8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FE8#FFFFFF#000000##FFFFFF
##794FE81.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#006AE5
Tritanopia (blue-blind)
#557595
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #794fe8;
/* rgb */ color: rgb(121, 79, 232);
/* oklch */ color: oklch(56.0% 0.218 290.1);
Tailwind
colors: {
  custom: {
    50: '#a883f0',
    500: '#794fe8',
    950: '#000000',
  },
}
SCSS
$custom: #794fe8;
$custom-light: #a883f0;
$custom-dark: #000000;
JSON
{
  "hex": "#794fe8",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 256.471,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55989,
    "c": 0.21839,
    "h": 290.1
  },
  "luminance": 0.15483
}

Semantic roles & 50–950 ramp

primary
#794FE8
secondary
#D6E6AD
accent
#D90CA1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #794FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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