#794FE2#794FE2

#794FE2 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.5% C 0.211 H 291.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#794FE2
RGBrgb(121, 79, 226)
HSLhsl(257, 72%, 60%)
HSVhsv(257, 65%, 89%)
CMYKcmyk(46.5%, 65%, 0%, 11.4%)
CIE-LABlab(45.83, 51.27, -68.89)
CIE-LCHlch(45.83, 85.87, 306.66°)
OKLaboklab(55.52% 0.0759 -0.1972)
OKLCHoklch(55.52% 0.211 291.1)
XYZxyz(24.4047, 15.1470, 73.5746)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FE2 #B8E24F
analogous
#4F6FE2 #794FE2 #C34FE2
triadic
#794FE2 #E2794F #4FE279
tetradic
#794FE2 #E24F6F #B8E24F #4FE2C3
square
#794FE2 #E24F6F #B8E24F #4FE2C3
split-complementary
#794FE2 #E2C34F #6FE24F
monochromatic
#3F1A9D #5422D1 #794FE2 #A184EB #C9B8F3

Accessibility & contrast

On white

5.21
#794FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#794FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FE2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FE2#FFFFFF#000000##FFFFFF
##794FE21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#587392
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #794fe2;
/* rgb */ color: rgb(121, 79, 226);
/* oklch */ color: oklch(55.5% 0.211 291.1);
Tailwind
colors: {
  custom: {
    50: '#a883ec',
    500: '#794fe2',
    950: '#000000',
  },
}
SCSS
$custom: #794fe2;
$custom-light: #a883ec;
$custom-dark: #000000;
JSON
{
  "hex": "#794fe2",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 257.143,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55521,
    "c": 0.21134,
    "h": 291.1
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

primary
#794FE2
secondary
#D3E3AA
accent
#EE39BB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #794FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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