#794CCA#794CCA

#794CCA is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.3% C 0.187 H 295.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#794CCA
RGBrgb(121, 76, 202)
HSLhsl(261, 54%, 55%)
HSVhsv(261, 62%, 79%)
CMYKcmyk(40.1%, 62.4%, 0%, 20.8%)
CIE-LABlab(43.50, 46.40, -58.93)
CIE-LCHlch(43.50, 75.01, 308.21°)
OKLaboklab(53.29% 0.0814 -0.1679)
OKLCHoklch(53.29% 0.187 295.9)
XYZxyz(21.1275, 13.4977, 57.3578)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CCA #9DCA4C
analogous
#4C5ECA #794CCA #B84CCA
triadic
#794CCA #CA794C #4CCA79
tetradic
#794CCA #CA4C5E #9DCA4C #4CCAB8
square
#794CCA #CA4C5E #9DCA4C #4CCAB8
split-complementary
#794CCA #CAB84C #5ECA4C
monochromatic
#422478 #5C32A7 #794CCA #9C7BD8 #C0AAE6

Accessibility & contrast

On white

5.68
#794CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#794CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CCA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CCA#FFFFFF#000000##FFFFFF
##794CCA1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#656884
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #794cca;
/* rgb */ color: rgb(121, 76, 202);
/* oklch */ color: oklch(53.3% 0.187 295.9);
Tailwind
colors: {
  custom: {
    50: '#a580db',
    500: '#794cca',
    950: '#000000',
  },
}
SCSS
$custom: #794cca;
$custom-light: #a580db;
$custom-dark: #000000;
JSON
{
  "hex": "#794cca",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 202
  },
  "hsl": {
    "h": 261.429,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53289,
    "c": 0.18664,
    "h": 295.9
  },
  "luminance": 0.13498
}

Semantic roles & 50–950 ramp

primary
#794CCA
secondary
#C1D49E
accent
#DE4AA9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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