#794FDE#794FDE

#794FDE is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.2% C 0.207 H 291.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#794FDE
RGBrgb(121, 79, 222)
HSLhsl(258, 68%, 59%)
HSVhsv(258, 64%, 87%)
CMYKcmyk(45.5%, 64.4%, 0%, 12.9%)
CIE-LABlab(45.54, 50.17, -67.10)
CIE-LCHlch(45.54, 83.79, 306.79°)
OKLaboklab(55.21% 0.0764 -0.192)
OKLCHoklch(55.21% 0.207 291.7)
XYZxyz(23.8623, 14.9300, 70.7176)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FDE #B4DE4F
analogous
#4F6DDE #794FDE #C04FDE
triadic
#794FDE #DE794F #4FDE79
tetradic
#794FDE #DE4F6D #B4DE4F #4FDEC0
square
#794FDE #DE4F6D #B4DE4F #4FDEC0
split-complementary
#794FDE #DEC04F #6DDE4F
monochromatic
#401C96 #5626CA #794FDE #A083E8 #C7B6F1

Accessibility & contrast

On white

5.27
#794FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#794FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FDE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FDE#FFFFFF#000000##FFFFFF
##794FDE1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE2
Deuteranopia (green-blind)
#0069DB
Tritanopia (blue-blind)
#5B7190
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #794fde;
/* rgb */ color: rgb(121, 79, 222);
/* oklch */ color: oklch(55.2% 0.207 291.7);
Tailwind
colors: {
  custom: {
    50: '#a783e9',
    500: '#794fde',
    950: '#000000',
  },
}
SCSS
$custom: #794fde;
$custom-light: #a783e9;
$custom-dark: #000000;
JSON
{
  "hex": "#794fde",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 257.622,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55214,
    "c": 0.2066,
    "h": 291.7
  },
  "luminance": 0.14931
}

Semantic roles & 50–950 ramp

primary
#794FDE
secondary
#D0E0A8
accent
#EB3DB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #794FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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