#794CED#794CED

#794CED is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.0% C 0.228 H 289.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#794CED
RGBrgb(121, 76, 237)
HSLhsl(257, 82%, 61%)
HSVhsv(257, 68%, 93%)
CMYKcmyk(48.9%, 67.9%, 0%, 7.1%)
CIE-LABlab(46.11, 55.84, -74.67)
CIE-LCHlch(46.11, 93.24, 306.79°)
OKLaboklab(55.98% 0.0772 -0.2142)
OKLCHoklch(55.98% 0.228 289.8)
XYZxyz(25.7513, 15.3472, 81.7098)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CED #C0ED4C
analogous
#4C70ED #794CED #CA4CED
triadic
#794CED #ED794C #4CED79
tetradic
#794CED #ED4C70 #C0ED4C #4CEDCA
square
#794CED #ED4C70 #C0ED4C #4CEDCA
split-complementary
#794CED #EDCA4C #70ED4C
monochromatic
#3D11AD #5117E5 #794CED #A384F3 #CCBBF8

Accessibility & contrast

On white

5.16
#794CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#794CED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CED
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CED#FFFFFF#000000##FFFFFF
##794CED1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#0069EA
Tritanopia (blue-blind)
#517597
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #794ced;
/* rgb */ color: rgb(121, 76, 237);
/* oklch */ color: oklch(56.0% 0.228 289.8);
Tailwind
colors: {
  custom: {
    50: '#a981f4',
    500: '#794ced',
    950: '#000000',
  },
}
SCSS
$custom: #794ced;
$custom-light: #a981f4;
$custom-dark: #000000;
JSON
{
  "hex": "#794ced",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 237
  },
  "hsl": {
    "h": 256.77,
    "s": 81.726,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55979,
    "c": 0.22769,
    "h": 289.8
  },
  "luminance": 0.15348
}

Semantic roles & 50–950 ramp

primary
#794CED
secondary
#D8E8AC
accent
#DE07A2
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #794CED

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

Preview Lab → · Contrast checker → · Palette generator →

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