#794CEC#794CEC

#794CEC is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.9% C 0.227 H 290.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#794CEC
RGBrgb(121, 76, 236)
HSLhsl(257, 81%, 61%)
HSVhsv(257, 68%, 93%)
CMYKcmyk(48.7%, 67.8%, 0%, 7.5%)
CIE-LABlab(46.03, 55.57, -74.23)
CIE-LCHlch(46.03, 92.73, 306.82°)
OKLaboklab(55.9% 0.0774 -0.2129)
OKLCHoklch(55.9% 0.227 290)
XYZxyz(25.6056, 15.2889, 80.9425)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CEC #BFEC4C
analogous
#4C6FEC #794CEC #C94CEC
triadic
#794CEC #EC794C #4CEC79
tetradic
#794CEC #EC4C6F #BFEC4C #4CECC9
square
#794CEC #EC4C6F #BFEC4C #4CECC9
split-complementary
#794CEC #ECC94C #6FEC4C
monochromatic
#3D12AB #5118E3 #794CEC #A283F2 #CCBBF8

Accessibility & contrast

On white

5.17
#794CEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#794CEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CEC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CEC#FFFFFF#000000##FFFFFF
##794CEC1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F1
Deuteranopia (green-blind)
#0069E9
Tritanopia (blue-blind)
#527496
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #794cec;
/* rgb */ color: rgb(121, 76, 236);
/* oklch */ color: oklch(55.9% 0.227 290.0);
Tailwind
colors: {
  custom: {
    50: '#a981f3',
    500: '#794cec',
    950: '#000000',
  },
}
SCSS
$custom: #794cec;
$custom-light: #a981f3;
$custom-dark: #000000;
JSON
{
  "hex": "#794cec",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 236
  },
  "hsl": {
    "h": 256.875,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55898,
    "c": 0.22654,
    "h": 290
  },
  "luminance": 0.1529
}

Semantic roles & 50–950 ramp

primary
#794CEC
secondary
#D7E8AC
accent
#DD08A1
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #794CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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