#794DCA#794DCA

#794DCA is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.4% C 0.185 H 295.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#794DCA
RGBrgb(121, 77, 202)
HSLhsl(261, 54%, 55%)
HSVhsv(261, 62%, 79%)
CMYKcmyk(40.1%, 61.9%, 0%, 20.8%)
CIE-LABlab(43.71, 45.86, -58.60)
CIE-LCHlch(43.71, 74.41, 308.04°)
OKLaboklab(53.44% 0.0803 -0.167)
OKLCHoklch(53.44% 0.185 295.7)
XYZxyz(21.1969, 13.6365, 57.3810)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794DCA #9ECA4D
analogous
#4D60CA #794DCA #B84DCA
triadic
#794DCA #CA794D #4DCA79
tetradic
#794DCA #CA4D60 #9ECA4D #4DCAB8
square
#794DCA #CA4D60 #9ECA4D #4DCAB8
split-complementary
#794DCA #CAB84D #60CA4D
monochromatic
#422479 #5B32A8 #794DCA #9D7CD8 #C0ABE6

Accessibility & contrast

On white

5.63
#794DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#794DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794DCA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794DCA#FFFFFF#000000##FFFFFF
##794DCA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #794dca;
/* rgb */ color: rgb(121, 77, 202);
/* oklch */ color: oklch(53.4% 0.185 295.7);
Tailwind
colors: {
  custom: {
    50: '#a581db',
    500: '#794dca',
    950: '#000000',
  },
}
SCSS
$custom: #794dca;
$custom-light: #a581db;
$custom-dark: #000000;
JSON
{
  "hex": "#794dca",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 261.12,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53436,
    "c": 0.18527,
    "h": 295.7
  },
  "luminance": 0.13637
}

Semantic roles & 50–950 ramp

primary
#794DCA
secondary
#C1D49F
accent
#DD4AAA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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