#794FDA#794FDA

#794FDA is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.9% C 0.202 H 292.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#794FDA
RGBrgb(121, 79, 218)
HSLhsl(258, 65%, 58%)
HSVhsv(258, 64%, 85%)
CMYKcmyk(44.5%, 63.8%, 0%, 14.5%)
CIE-LABlab(45.25, 49.08, -65.30)
CIE-LCHlch(45.25, 81.69, 306.93°)
OKLaboklab(54.91% 0.0768 -0.1867)
OKLCHoklch(54.91% 0.202 292.4)
XYZxyz(23.3325, 14.7181, 67.9276)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794FDA #B0DA4F
analogous
#4F6BDA #794FDA #BE4FDA
triadic
#794FDA #DA794F #4FDA79
tetradic
#794FDA #DA4F6B #B0DA4F #4FDABE
square
#794FDA #DA4F6B #B0DA4F #4FDABE
split-complementary
#794FDA #DABE4F #6BDA4F
monochromatic
#411E90 #5729C3 #794FDA #9F82E5 #C6B4EF

Accessibility & contrast

On white

5.32
#794FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#794FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794FDA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794FDA#FFFFFF#000000##FFFFFF
##794FDA1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#5D708D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #794fda;
/* rgb */ color: rgb(121, 79, 218);
/* oklch */ color: oklch(54.9% 0.202 292.4);
Tailwind
colors: {
  custom: {
    50: '#a783e6',
    500: '#794fda',
    950: '#000000',
  },
}
SCSS
$custom: #794fda;
$custom-light: #a783e6;
$custom-dark: #000000;
JSON
{
  "hex": "#794fda",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 258.129,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5491,
    "c": 0.20184,
    "h": 292.4
  },
  "luminance": 0.14719
}

Semantic roles & 50–950 ramp

primary
#794FDA
secondary
#CDDEA7
accent
#E840B5
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #794FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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