#794CD1#794CD1

#794CD1 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.8% C 0.195 H 294.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#794CD1
RGBrgb(121, 76, 209)
HSLhsl(260, 59%, 56%)
HSVhsv(260, 64%, 82%)
CMYKcmyk(42.1%, 63.6%, 0%, 18%)
CIE-LABlab(44.00, 48.27, -62.17)
CIE-LCHlch(44.00, 78.71, 307.83°)
OKLaboklab(53.8% 0.0809 -0.1774)
OKLCHoklch(53.8% 0.195 294.5)
XYZxyz(21.9751, 13.8367, 61.8222)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CD1 #A4D14C
analogous
#4C61D1 #794CD1 #BB4CD1
triadic
#794CD1 #D1794C #4CD179
tetradic
#794CD1 #D14C61 #A4D14C #4CD1BB
square
#794CD1 #D14C61 #A4D14C #4CD1BB
split-complementary
#794CD1 #D1BB4C #61D14C
monochromatic
#422181 #5B2EB2 #794CD1 #9D7DDE #C2ADEA

Accessibility & contrast

On white

5.57
#794CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#794CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CD1
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CD1#FFFFFF#000000##FFFFFF
##794CD11.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#616B88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #794cd1;
/* rgb */ color: rgb(121, 76, 209);
/* oklch */ color: oklch(53.8% 0.195 294.5);
Tailwind
colors: {
  custom: {
    50: '#a680e0',
    500: '#794cd1',
    950: '#000000',
  },
}
SCSS
$custom: #794cd1;
$custom-light: #a680e0;
$custom-dark: #000000;
JSON
{
  "hex": "#794cd1",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 260.301,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53803,
    "c": 0.195,
    "h": 294.5
  },
  "luminance": 0.13837
}

Semantic roles & 50–950 ramp

primary
#794CD1
secondary
#C5D8A1
accent
#E246AD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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