#794EDA#794EDA

#794EDA is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.8% C 0.203 H 292.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#794EDA
RGBrgb(121, 78, 218)
HSLhsl(258, 65%, 58%)
HSVhsv(258, 64%, 85%)
CMYKcmyk(44.5%, 64.2%, 0%, 14.5%)
CIE-LABlab(45.05, 49.62, -65.62)
CIE-LCHlch(45.05, 82.27, 307.10°)
OKLaboklab(54.77% 0.0778 -0.1876)
OKLCHoklch(54.77% 0.203 292.5)
XYZxyz(23.2610, 14.5750, 67.9037)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794EDA #AFDA4E
analogous
#4E69DA #794EDA #BF4EDA
triadic
#794EDA #DA794E #4EDA79
tetradic
#794EDA #DA4E69 #AFDA4E #4EDABF
square
#794EDA #DA4E69 #AFDA4E #4EDABF
split-complementary
#794EDA #DABF4E #69DA4E
monochromatic
#411E90 #5829C2 #794EDA #9F81E5 #C6B3EF

Accessibility & contrast

On white

5.36
#794EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#794EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794EDA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794EDA#FFFFFF#000000##FFFFFF
##794EDA1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #794eda;
/* rgb */ color: rgb(121, 78, 218);
/* oklch */ color: oklch(54.8% 0.203 292.5);
Tailwind
colors: {
  custom: {
    50: '#a782e6',
    500: '#794eda',
    950: '#000000',
  },
}
SCSS
$custom: #794eda;
$custom-light: #a782e6;
$custom-dark: #000000;
JSON
{
  "hex": "#794eda",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 218
  },
  "hsl": {
    "h": 258.429,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54766,
    "c": 0.20312,
    "h": 292.5
  },
  "luminance": 0.14576
}

Semantic roles & 50–950 ramp

primary
#794EDA
secondary
#CDDEA6
accent
#E83FB4
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #794EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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