#794CCF#794CCF

#794CCF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.7% C 0.193 H 294.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#794CCF
RGBrgb(121, 76, 207)
HSLhsl(261, 58%, 55%)
HSVhsv(261, 63%, 81%)
CMYKcmyk(41.5%, 63.3%, 0%, 18.8%)
CIE-LABlab(43.86, 47.73, -61.25)
CIE-LCHlch(43.86, 77.65, 307.93°)
OKLaboklab(53.65% 0.081 -0.1747)
OKLCHoklch(53.65% 0.193 294.9)
XYZxyz(21.7291, 13.7383, 60.5263)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794CCF #A2CF4C
analogous
#4C60CF #794CCF #BB4CCF
triadic
#794CCF #CF794C #4CCF79
tetradic
#794CCF #CF4C60 #A2CF4C #4CCFBB
square
#794CCF #CF4C60 #A2CF4C #4CCFBB
split-complementary
#794CCF #CFBB4C #60CF4C
monochromatic
#42227F #5B2FAF #794CCF #9D7CDC #C1ADE9

Accessibility & contrast

On white

5.60
#794CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#794CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794CCF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794CCF#FFFFFF#000000##FFFFFF
##794CCF1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#626A87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #794ccf;
/* rgb */ color: rgb(121, 76, 207);
/* oklch */ color: oklch(53.7% 0.193 294.9);
Tailwind
colors: {
  custom: {
    50: '#a680de',
    500: '#794ccf',
    950: '#000000',
  },
}
SCSS
$custom: #794ccf;
$custom-light: #a680de;
$custom-dark: #000000;
JSON
{
  "hex": "#794ccf",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 260.611,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53655,
    "c": 0.19261,
    "h": 294.9
  },
  "luminance": 0.13739
}

Semantic roles & 50–950 ramp

primary
#794CCF
secondary
#C4D7A0
accent
#E147AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #794CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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