#794FF2#794FF2

#794FF2 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.8% C 0.230 H 288.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#794FF2
RGBrgb(121, 79, 242)
HSLhsl(255, 86%, 63%)
HSVhsv(255, 67%, 95%)
CMYKcmyk(50%, 67.4%, 0%, 5.1%)
CIE-LABlab(47.06, 55.66, -75.92)
CIE-LCHlch(47.06, 94.14, 306.25°)
OKLaboklab(56.79% 0.0737 -0.2179)
OKLCHoklch(56.79% 0.23 288.7)
XYZxyz(26.7035, 16.0665, 85.6813)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FF2 #C8F24F
analogous
#4F76F2 #794FF2 #CA4FF2
triadic
#794FF2 #F2794F #4FF279
tetradic
#794FF2 #F24F76 #C8F24F #4FF2CA
square
#794FF2 #F24F76 #C8F24F #4FF2CA
split-complementary
#794FF2 #F2CA4F #76F24F
monochromatic
#3A0EB9 #4E16EE #794FF2 #A488F6 #D0C1FA

Accessibility & contrast

On white

4.98
#794FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#794FF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FF2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FF2#FFFFFF#000000##FFFFFF
##794FF21.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F7
Deuteranopia (green-blind)
#006BEF
Tritanopia (blue-blind)
#4E789A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #794ff2;
/* rgb */ color: rgb(121, 79, 242);
/* oklch */ color: oklch(56.8% 0.230 288.7);
Tailwind
colors: {
  custom: {
    50: '#aa83f7',
    500: '#794ff2',
    950: '#000000',
  },
}
SCSS
$custom: #794ff2;
$custom-light: #aa83f7;
$custom-dark: #000000;
JSON
{
  "hex": "#794ff2",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 255.46,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56785,
    "c": 0.23001,
    "h": 288.7
  },
  "luminance": 0.16068
}

Semantic roles & 50–950 ramp

primary
#794FF2
secondary
#DDECB1
accent
#E303A9
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #794FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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